Convert Value from form to another

3 Ansichten (letzte 30 Tage)
Majid Al-Sirafi
Majid Al-Sirafi am 22 Sep. 2013
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
sprintf('%.7f',9.0295e-005)

Weitere Antworten (1)

the cyclist
the cyclist am 22 Sep. 2013
x = 9.0295e-005
sprintf('%9.7f',x)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by