Display number with engineering notation
Mostra commenti meno recenti
I'm trying to display a number I read in with textscan in engineering notation. I was trying to switch the format to short eng and do:
evalc('disp(x)')
But it doesn't matter what format I set, the format textscan reads it in is what it uses.
1 Commento
Harry Dymond
il 31 Mag 2020
Modificato: Harry Dymond
il 31 Mag 2020
For the benifit of those stumbling across this old thread in search of answers: please see my answer below
Risposta accettata
Più risposte (2)
Harry Dymond
il 31 Mag 2020
3 voti
For the benifit of those stumbling across this old thread in search of answers: my FEX submission num2eng will do this, and offers SI prefixes as well as engineering notation.
Categorie
Scopri di più su Entering Commands in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!