How do I use a switch statement to convert units?
古いコメントを表示
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 件のコメント
James Tursa
2015 年 4 月 29 日
Please post what you have done so far and we can comment on it and make suggestions.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!