Hi, In matlab if I assign eg p=1000000040 it becomes p=1e9. Why this happens and how to fix this? thank you
3 views (last 30 days)
Show older comments
Why this happens and how to fix this? thank you
0 Comments
Answers (1)
Walter Roberson
on 19 Nov 2015
It does not actually happen. You just have the wrong output formatting. Give the command
format long g
and you will see the full value
0 Comments
See Also
Categories
Find more on Structures 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!