Exponent values

2 次查看(过去 30 天)
developer
developer 2011-7-19
Hello, I have an exponent value ,2710,16113977021 but in matlab i am seeing it as 2.7102e+003
how can i see the actual value 2710,16113977021
thanks

回答(2 个)

Jan
Jan 2011-7-19
Or:
v = 2710.16113977021;
sprintf('%.16g', v);
Note the dot instead of the comma.

Walter Roberson
Walter Roberson 2011-7-19

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by