Circular Matrix computation
circulant Computes the circulant matrix of a vector.
circulant(vec) is a max(size(vec))-by-max(size(vec)) circulant
matrix built with the elements of vec
Note: The parameter may be either a column or row vector
Example:
v = [ 1 2 3 4 ];
circulant( v )
ans =
1 2 3 4
2 3 4 1
3 4 1 2
4 1 2 3
Citation pour cette source
Massimo Fierro (2024). Circular Matrix computation (https://www.mathworks.com/matlabcentral/fileexchange/22814-circular-matrix-computation), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.2.0.0 | Slightly modified the help and matched the file description with it |
||
1.1.0.0 | UPDATE Feb 02, 2009: added help |
||
1.0.0.0 |