Display number with units in scientific notation (format compact)
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jared Pagett
am 14 Jul. 2020
Beantwortet: madhan ravi
am 14 Jul. 2020
Example:
u = symunit;
m_Sr84 = 83.913430 * u.m_u;
unitConvert(m_Sr84,u.kg)
The output is
ans =
0.00000000000000000000000013934152872740444672207576264548*[kg]
I'd naturally like to by default display this in scientific notation. Running "format compact" has no effect. How can this be achieved?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!