How to take two inputs simultaneously from the user ?

3 vues (au cours des 30 derniers jours)
Vincent Abraham
Vincent Abraham le 17 Mar 2020
Réponse apportée : KSSV le 17 Mar 2020
[xf1 xf2]=input('Enter range of x :');

Réponse acceptée

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

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by