Display number with engineering notation
Ältere Kommentare anzeigen
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 Kommentar
Harry Dymond
am 31 Mai 2020
Bearbeitet: Harry Dymond
am 31 Mai 2020
For the benifit of those stumbling across this old thread in search of answers: please see my answer below
Akzeptierte Antwort
Weitere Antworten (2)
Harry Dymond
am 31 Mai 2020
3 Stimmen
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.
Kategorien
Mehr zu Entering Commands finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!