issquare
Determines if x is a square matrix.
Syntax
R = issquare(x)
Inputs
- x
- Type: any input
Outputs
- R
- A logical 1 when x is a symmetric matrix, and 0 otherwise.
Example
Simple issquare example:
R = issquare(eye(10))
R = 1
Determines if x is a square matrix.
R = issquare(x)
Simple issquare example:
R = issquare(eye(10))
R = 1