필터 지우기
필터 지우기

About 3 significant digit?

조회 수: 1 (최근 30일)
Ls
Ls 2021년 9월 11일
답변: Jan 2021년 9월 11일
How do i present the output in 3 significant digit?
  댓글 수: 2
Walter Roberson
Walter Roberson 2021년 9월 11일
See also compose()

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2021년 9월 11일
fprintf('%.3g\n', pi)
3.14
fprintf('%.3g\n', pi * 1e6)
3.14e+06
fprintf('%.3g\n', pi * 1e-6)
3.14e-06

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by