<< makematrix_cauchy Makematrix makematrix_diagonali >>

Makematrix >> Makematrix > makematrix_circul

makematrix_circul

Returns the circular matrix

Calling Sequence

A = makematrix_circul ( x )

Parameters

x :

a n-by-1 or 1-by-n matrix of doubles, the input vector

A :

a n-by-n matrix of doubles, the circular matrix

Description

Returns the circular matrix of size n with entries x.

A circulant matrix is a special kind of Toeplitz matrix where each row vector is rotated one element to the right relative to the preceding row vector.

Examples

A = makematrix_circul ( 1:5 )

Authors

Bibliography

http://en.wikipedia.org/wiki/Circulant_matrix

See also


Report an issue
<< makematrix_cauchy Makematrix makematrix_diagonali >>