About 3 significant digit?
古いコメントを表示
How do i present the output in 3 significant digit?
回答 (1 件)
fprintf('%.3g\n', pi)
fprintf('%.3g\n', pi * 1e6)
fprintf('%.3g\n', pi * 1e-6)
カテゴリ
ヘルプ センター および File Exchange で System Composer についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!