Column Circulant Matrix
Mostrar comentarios más antiguos
Hello,
How to create the following coulumn circulant matrix in matlab:
X=
[
x_0 x_{p-1} .... x_{P-L}
x_1 x_0 .... x_{P-L+1}
.
.
.
x_{p-1} x_{p-2} ... x_{P-L-1}
]
where p>L and both are positive integers.
Thanks
Respuestas (1)
Honglei Chen
el 8 de Mzo. de 2012
gallery('circul',[1 2 3])'
You can then take the first L columns
4 comentarios
S. David
el 8 de Mzo. de 2012
Honglei Chen
el 8 de Mzo. de 2012
Just pass your first column in the place of [1 2 3] in the above code and see what the output is. The last transpose should restore your circulant matrix on columns.
S. David
el 15 de Mzo. de 2012
S. David
el 15 de Mzo. de 2012
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!