Hi, In matlab if I assign eg p=1000000040 it becomes p=1e9. Why this happens and how to fix this? thank you

3 次查看(过去 30 天)
Why this happens and how to fix this? thank you

回答(1 个)

Walter Roberson
Walter Roberson 2015-11-19
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

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by