How to take two inputs simultaneously from the user ?

3 views (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)

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!