# issymmetric

Symmetric matrix test.

## Syntax

R = issymmetric(A)

R = issymmetric(A,tol)

## Inputs

`A`- The variable to test.
`tol`- The tolerance for the test (default 0).

## Outputs

- R
- A logical 1 when
`A`is a symmetric matrix, and 0 otherwise.

## Example

Matrix
example:

`R = issymmetric([1,2,3;2,4,5;3,5,6])`

`R = 1`

## Comments

`tol` applies as follows:

norm(`A-A'`,'inf')/norm(`A`,'inf') `tol`.