How do I use a switch statement to convert units?
Mostrar comentarios más antiguos
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 comentario
James Tursa
el 29 de Abr. de 2015
Please post what you have done so far and we can comment on it and make suggestions.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!