get rid of e notation
Afficher commentaires plus anciens
how do i get rid of the e notation in a variable? eg 4.321e+003, i just need it as 4321. its stopping me from plotting a graph.
Réponse acceptée
Plus de réponses (2)
Friedrich
le 12 Juil 2011
Hi,
have a look at the format function:
So this should work
format long
1 commentaire
Naveen Francis
le 12 Juil 2011
Paulo Silva
le 12 Juil 2011
0 votes
No it's not stopping you unless the variable is a string instead of a number, please provide more details.
3 commentaires
Naveen Francis
le 12 Juil 2011
Naveen Francis
le 12 Juil 2011
Paulo Silva
le 12 Juil 2011
something doesn't seem right, please provide the code and a sample of the data
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!