countdecimal
Version 1.0.0 (1.09 KB) by
karipuff
Used to count number of decimals of a non-integer number
This function is used to count number of decimals of a non-integer number.
It is complementary to the built-in function of "find" in MATLAB.
Let's say we want to find the index of a non-integer number within an array of non-integer number. However, it can be tricky if we do not round the array of numbers into same number of decimal of the non-integer number in query.
Hence, this function is used to solve this problem.
Cite As
karipuff (2024). countdecimal (https://www.mathworks.com/matlabcentral/fileexchange/119123-countdecimal), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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 |