get rid of e notation
Show older comments
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.
Accepted Answer
More Answers (2)
Friedrich
on 12 Jul 2011
Hi,
have a look at the format function:
So this should work
format long
1 Comment
Naveen Francis
on 12 Jul 2011
Paulo Silva
on 12 Jul 2011
0 votes
No it's not stopping you unless the variable is a string instead of a number, please provide more details.
3 Comments
Naveen Francis
on 12 Jul 2011
Naveen Francis
on 12 Jul 2011
Paulo Silva
on 12 Jul 2011
something doesn't seem right, please provide the code and a sample of the data
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!