MATLAB: How to take two inputs simultaneously from the user inputs [xf1 xf2]=input('Enter range of x :'); Best Answer x=input('Enter range of x :');xf1 = x(1) ;xf2 = x(2) ;Also have a look on deal. Related SolutionsMATLAB: Dont Know , What is error. It shows busy x3=x1+x2/2;is wrong. It does not take the value half-way between the two. It can get stuck. Consider that if x1 = 1 and x2 = 2, then 1 + (2/2) = 1+1 = 2, so your x3 would be the same as your x2 and you would get stuck in an infinite loop. MATLAB: Take time from user ! Parse out the numbers, like with strtok(), then pass the numbers into etime(). Or use newer functions like datetime(). Related QuestionHow to evaluate two variable function…Two GPU computing simultaneouslyDistance between any two pointsMinimise two functions simultaneously
Best Answer