How to take two inputs simultaneously from the user ?

2 次查看(过去 30 天)
[xf1 xf2]=input('Enter range of x :');

采纳的回答

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

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by