1.6K Downloads
Updated
30 Jun 2004
No License
This method provides a means to specify how many digits of precision to give to a number. For instnace if you have number which is 19.2 and another calculated number that is 19.2000000001 that are suppose to be equal you can just chop the digits for the 19.2000000001 to one digit of precision and then the two numbers will be equal.
Cite As
Andrew Hastings (2024). chopDigit (https://www.mathworks.com/matlabcentral/fileexchange/5374-chopdigit), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math >
Find more on Elementary Math in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |