Display number with units in scientific notation (format compact)

5 vues (au cours des 30 derniers jours)
Jared Pagett
Jared Pagett le 14 Juil 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?

Réponse acceptée

madhan ravi
madhan ravi le 14 Juil 2020

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox 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!

Translated by