issymmetric

Computes if matrix is symmetric.

📝 Syntax

  • res = issymmetric(x)

  • res = issymmetric(x, 'skew')

  • res = issymmetric(x, 'nonskew')

  • res = issymmetric(x, tol)

📥 Input argument

  • x - a numeric value: scalar or matrix (double or single, integers, logical).

  • tol - a numeric value: finite and >= 0.

📤 Output argument

  • res - a logical.

📄 Description

issymmetric(x) computes if matrix is symmetric.

With 'nonskew' argument, x square matrix, x is symmetric if it is equal to its nonconjugate transpose, x = x.'

With 'skew' argument, x square matrix, x is symmetric if it is equal to its nonconjugate transpose, x = -x.'

💡 Example

🔗 See also

ishermitian.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?