How do I use a switch statement to convert units?
Mostra commenti meno recenti
For example, if I want to convert from grams to pounds or grams to kilograms. Like use the switch statement to display a menu that will require an input value of grams to convert to kilograms or pounds as the two options and display the answer.
1 Commento
James Tursa
il 29 Apr 2015
Please post what you have done so far and we can comment on it and make suggestions.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!