Convert Value from form to another

3 views (last 30 days)
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 Comment
Majid Al-Sirafi
Majid Al-Sirafi on 22 Sep 2013
x = 9.0295e-005
sprintf('%9.7f',x) figure
title(['Root Mean Square Error=',num2str(RMSE_coordinates)])

Sign in to comment.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 22 Sep 2013
sprintf('%.7f',9.0295e-005)

More Answers (1)

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

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!