precision
2 次查看(过去 30 天)
显示 更早的评论
plz tell how to reduce precision(decimal) in matlab
1 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!