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 件のコメント

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

サインインしてコメントする。

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 9 月 22 日

0 投票

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

その他の回答 (1 件)

the cyclist
the cyclist 2013 年 9 月 22 日

0 投票

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