ISWHOLE

Version 1.0.0.0 (630 octets) par Mukhtar Ullah
True for integers(whole numbers).
3,5K téléchargements
Mise à jour 12 mars 2007

Aucune licence

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.

Citation pour cette source

Mukhtar Ullah (2024). ISWHOLE (https://www.mathworks.com/matlabcentral/fileexchange/6277-iswhole), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R14
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Numeric Types dans Help Center et MATLAB Answers
Remerciements

A inspiré : Date Odometer class

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0

Modified, as suggested by Josef Lotz, to provide indices of integer elements.