About 3 significant digit?

Risposte (1)

fprintf('%.3g\n', pi)
3.14
fprintf('%.3g\n', pi * 1e6)
3.14e+06
fprintf('%.3g\n', pi * 1e-6)
3.14e-06

Categorie

Scopri di più su System Composer in Centro assistenza e File Exchange

Prodotti

Richiesto:

Ls
il 11 Set 2021

Risposto:

Jan
il 11 Set 2021

Community Treasure Hunt

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

Start Hunting!

Translated by