how to convert a exponentail to whole number
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hai
i want to convert an matrix of exponential values to whole numbers
for example 3.6889e-005 -0.00017216 2.3815e-005 -0.00010904 -0.00023487 -0.00013938 8.2785e-005
Réponses (1)
Jan
le 23 Sep 2011
There are several possible solutions, because the question is not equivocal:
- floor(x)
- ceil(x)
- fix(x)
- round(x)
- round(log10(x))
Look in the help text of these function to learn how to use them. If you specify the wanted output, a more precise help is possible.
0 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!