You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
ISWHOLE True for integers(whole numbers).
ISWHOLE(X) is 1 for the elements of X that are integers, 0 otherwise. ISWHOLE(X1,X2,..,XN) returns a 1-by-N array with 1 for integers and 0 otherwise.
ISWHOLE does not check for integer data type as does ISINTEGER.
Cite As
Mukhtar Ullah (2026). ISWHOLE (https://in.mathworks.com/matlabcentral/fileexchange/6277-iswhole), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Date Odometer class
General Information
- Version 1.0.0.0 (630 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Modified, as suggested by Josef Lotz, to provide indices of integer elements. |
