FUNCTION REFERENCE

issymmetric

Test equality with the transpose.

Test equality with the transpose.

Syntax

tf = issymmetric(A[, 'skew'|'nonskew'])

The default nonskew test compares A with its transpose. The skew test compares A with the negative of that transpose. Nonsquare matrices return false; comparisons are exact.

Example

issymmetric([0 2; -2 0], 'skew')   % 1

Differences from MATLAB: A numeric tolerance is rejected, matching MATLAB. No N-D arrays.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.