How to take two inputs simultaneously from the user ?

1 view (last 30 days)
[xf1 xf2]=input('Enter range of x :');

Accepted Answer

KSSV
KSSV on 17 Mar 2020
x=input('Enter range of x :');
xf1 = x(1) ;
xf2 = x(2) ;
Also have a look on deal.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!