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

2 Ansichten (letzte 30 Tage)
hi , my result show as following 1.3204e-05 , i need show it as numerical value
  2 Kommentare
Stephen23
Stephen23 am 11 Aug. 2016
Bearbeitet: Stephen23 am 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:

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

dpb
dpb am 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
>>

Weitere Antworten (0)

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by