num2str default format
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to print multiple values using fprintf, but with the same number formatting as num2str. Is there a format string that will give the same behavior as num2str?
0 Kommentare
Antworten (2)
Walter Roberson
am 4 Mai 2020
no. num2str does a bunch of width calculations and chooses output format based on integer vs floating point
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!