Zero Out Smalls

版本 1.0.0.0 (4.2 KB) 作者: Zhigang Xu
To zero out the small elements whose absolute values are smaller than a given criterion.
691.0 次下载
更新时间 2008/7/7

查看许可证

To zero out the small elements in A whose absolute values are smaller than a given criterion, specified by small_cri. By default, small_cri=eps. Due to operations on floating point numbers, many quantities should be zero mathematically but are actually not. If these "fuzzy" quantities are carried over in further calculations, erroneous results may arise. They will also unnecessarily increase the number of non-zero elements in sparse matrices and slow down the calculations.

引用格式

Zhigang Xu (2024). Zero Out Smalls (https://www.mathworks.com/matlabcentral/fileexchange/20029-zero-out-smalls), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Stability Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

The help message is improved.