precision

2 Ansichten (letzte 30 Tage)
maha sandhya
maha sandhya am 13 Mär. 2012
plz tell how to reduce precision(decimal) in matlab
  1 Kommentar
James Tursa
James Tursa am 13 Mär. 2012
Your question is too vague. Please provide more detail, with an example.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by