How to round the decimal?
Afficher commentaires plus anciens
Dear All;
I have a number array x = [0.00135678 0.00076243;0.0000045789 0.01234567];
Then i just want to round x to become as: results:[0.0013 0.00076; 0.0000045 0.012];
What to do?
Thanks in advance.....
Réponse acceptée
Plus de réponses (1)
Steven Beumer
le 27 Juin 2018
Modifié(e) : Stephen23
le 27 Juin 2018
1 vote
You might want to check out this function for that:
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!