program to get the user to enter the values
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
function y=mx+c
how can i write a program to get the user to enter the values for x and c and display the result for y
0 commentaires
Réponse acceptée
Davide Ferraro
le 24 Fév 2011
If you are expecting a command line input you can use the INPUT command:
A quick and nice graphic way is to use the function INPUTDLG:
2 commentaires
Plus de réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!