Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How do I show the variables the users' inputted in a disp or fprintf fucntion?
    2 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
I'm kind of new to MATLAB, how can I show the users' inputted data on a disp or fprintf function?
4 Kommentare
  Walter Roberson
      
      
 am 14 Sep. 2020
				disp() only accepts one parameter. But you can
disp(['Your answer is: ', num2str(ans)])
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



