How to display both values and text as output
99 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey MATLAB users,
I'm trying to show a numerical value with its unit in the command window. For example, 500 grams or 4.7k Ohms. Any suggestions?
Quick replies are much appreciated, thanks.
1 commentaire
Stephen23
le 12 Fév 2016
How are the units stored? Do you have a separate string or cell array of strings?
Voir également
Catégories
En savoir plus sur Characters and Strings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!