how to manage Fraction format problem
Mostrar comentarios más antiguos
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...
Respuesta aceptada
Más respuestas (1)
Steven Lord
el 30 de En. de 2017
0 votos
See the second input of the round function.
Categorías
Más información sobre Operators and Elementary Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!