ball_ini inp=input('Choose Experiment (1, 2 or 3): '); if inp==1 ball_roll1 elseif inp==2 ball_roll2 elseif inp==3 ball_roll3 end