ISWHOLE

True for integers(whole numbers).

Vous suivez désormais cette soumission

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 (2026). ISWHOLE (https://fr.mathworks.com/matlabcentral/fileexchange/6277-iswhole), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : Date Odometer class

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

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