Convert Value from form to another

1 次查看(过去 30 天)
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
sprintf('%.7f',9.0295e-005)

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by