You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Zhigang Xu (2026). Zero Out Smalls (https://au.mathworks.com/matlabcentral/fileexchange/20029-zero-out-smalls), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (4.15 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | The help message is improved. |
