ISWHOLE

True for integers(whole numbers).

Al momento, stai seguendo questo contributo

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.

Cita come

Mukhtar Ullah (2026). ISWHOLE (https://it.mathworks.com/matlabcentral/fileexchange/6277-iswhole), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato: Date Odometer class

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0

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