how to manage Fraction format problem
Ältere Kommentare anzeigen
Dear all, I have vector with numbers and fraction. How can I reduce fraction number.?for example a=[1.23456789 6.14521456 7.906342678 10.47609352]
expect results should be: re=[ 1.2 6.1 7.9 10.4] Thanks...
Akzeptierte Antwort
Weitere Antworten (1)
Steven Lord
am 30 Jan. 2017
0 Stimmen
See the second input of the round function.
Kategorien
Mehr zu Matrices and Arrays 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!