Convert Value from form to another

H everyone
when I execute my program the output is shown as follows:
9.0295e-005
I want to be as follows:
0.0000903
Thanks

1 Kommentar

Majid Al-Sirafi
Majid Al-Sirafi am 22 Sep. 2013
x = 9.0295e-005
sprintf('%9.7f',x) figure
title(['Root Mean Square Error=',num2str(RMSE_coordinates)])

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 22 Sep. 2013

0 Stimmen

sprintf('%.7f',9.0295e-005)

Weitere Antworten (1)

the cyclist
the cyclist am 22 Sep. 2013

0 Stimmen

x = 9.0295e-005
sprintf('%9.7f',x)

Community Treasure Hunt

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

Start Hunting!

Translated by