countdecimal

Version 1.0.0 (1.09 KB) by karipuff
Used to count number of decimals of a non-integer number
0 Downloads
Updated 15 Oct 2022

View License

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 Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0