mynumber = input('Enter a number:');switch mynumber case -1 disp('negative one'); case 0 disp('zero'); case 1 disp('positive one'); otherwise disp('other value');endhello every one I wrote some code which repeatedly do some taskeg like this above which is in mat lab docc. when I select the first choice(1}the program does the first statement only and stops.what i want is ,after compelitilng the first task it should asks me again if i want to choose the choices starting from choice 1 how can i do that?
MATLAB: How can i go back to the fist choose again with out termination after finshing the first task
back to the first choice with out terination
Best Answer