ismatrix
determines whether input is matrix or not
📝Syntaxe
TF = ismatrix(A)
📥Arguments d'entrée
Paramètre Description
A input array as a scalar, vector, matrix, or multidimensional array.
📤Arguments de sortie
Paramètre Description
TF a logical: true if it is a matrix.
📄Description

TF = ismatrix(A) returns true if A is a matrix.

A matrix is a two-dimensional array that has a size of m-by-n, where m and n are nonnegative integers.

💡Exemples
x = [1+i,-i;i,2i];
ismatrix(x)
ismatrix(ones(3,1,2))
🔗Voir aussi
isvector
🕔Historique des versions
Version Description
1.0.0 version initiale
Modifier cette page sur GitHub