Convert Value from form to another

조회 수: 1 (최근 30일)
Majid Al-Sirafi
Majid Al-Sirafi 2013년 9월 22일
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에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by