Clear Filters
Clear Filters

hi , my result show as following 1.3204e-05 , i need show it as numerical value

1 view (last 30 days)
hi , my result show as following 1.3204e-05 , i need show it as numerical value
  2 Comments
Stephen23
Stephen23 on 11 Aug 2016
Edited: Stephen23 on 11 Aug 2016
@mohammed elmenshawy: most likely | 1.3204e-05| is already a numeric value, assuming that the function is not outputting a string or something like that. Read this to know why the output is numeric, regardless of how it is displayed:

Sign in to comment.

Accepted Answer

dpb
dpb on 11 Aug 2016
1.3204e-05 is a numerical value, if you want a specific format other than default look at
doc format
to make the change global in the workspace/command window or use fprintf or num2str to display...
>> x=1.3204e-05;
>> num2str(x,'%.10f')
ans =
0.0000132040
>>

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!