Skip to content

Basic Information

Built-in functions › Mathematics › Basic Information

30 functions in this category.

FunctionWhat it does
dispDisplay the value of a variable without printing its name.
iscomplexElement-wise complex-type test.
isemptyTest whether the input has zero elements.
isequalTest whether two or more inputs are equal in shape and value.
isequalwithequalnansLike isequal, but treats NaNs as equal to other NaNs.
isfiniteElement-wise finite test.
isinfElement-wise infinity test.
isintegerTest whether the input is integer-typed (or, in script mode, integer-valued).
isintegralElement-wise integer-value test.
islogicalTest whether the input is of logical (boolean) type.
isnaTest whether a value is #N/A.
isnanElement-wise NaN test.
isnonzeroElement-wise non-zero test.
isnumericTest whether the input is a numeric type.
ispositiveElement-wise positive test.
isrealElement-wise real-type test.
isrealintElement-wise real-integer test.
isrealpositiveintElement-wise real-positive-integer test.
isscalarTest whether the input is a 1×1 scalar.
isvalidElement-wise validity test.
isvectorTest whether the input is a vector (one row or one column).
iszeroElement-wise zero test.
lengthLength of the longest dimension.
maxMaximum value along a dimension, or elementwise maximum of two inputs.
minMinimum value along a dimension, or elementwise minimum of two inputs.
ndimsNumber of dimensions of the input.
numelTotal number of elements.
sizeSizes along all dimensions, or along one specific dimension.
size_equalTest whether all inputs share the same shape.
sizeofStorage size of the input in bytes.