precision

2 次查看(过去 30 天)
maha sandhya
maha sandhya 2012-3-13
plz tell how to reduce precision(decimal) in matlab
  1 个评论
James Tursa
James Tursa 2012-3-13
Your question is too vague. Please provide more detail, with an example.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by