precision

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

1 voto

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

Tag

Richiesto:

il 13 Mar 2012

Community Treasure Hunt

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

Start Hunting!

Translated by