Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How do I show the variables the users' inputted in a disp or fprintf fucntion?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm kind of new to MATLAB, how can I show the users' inputted data on a disp or fprintf function?
4 commentaires
Walter Roberson
le 14 Sep 2020
disp() only accepts one parameter. But you can
disp(['Your answer is: ', num2str(ans)])
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!