Azzera filtri
Azzera filtri

precision

3 visualizzazioni (ultimi 30 giorni)
maha sandhya
maha sandhya il 13 Mar 2012
plz tell how to reduce precision(decimal) in matlab
  1 Commento
James Tursa
James Tursa il 13 Mar 2012
Your question is too vague. Please provide more detail, with an example.

Accedi per commentare.

Risposte (1)

Jan
Jan il 13 Mar 2012
a = pi; % Now [a] is a double using about 16 digits.
b = single(a); % [b] is a single with about 8 digits.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by