istriu
Checks if matrix is diagonal.
Syntax
tf = isdiag(M)
Input argument
M - a numeric array
Output argument
tf - logical: result of 'isdiag'.
Description
isdiag returns an scalar logical if entry is diag.
Example
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated