issquare

Determines if x is a square matrix.

R = issquare(x)

x
Type: any input

Outputs

R
A logical 1 when x is a symmetric matrix, and 0 otherwise.
Type: Boolean

Example

Simple issquare example:

R = issquare(eye(10))
R = 1