Circular Matrix computation

版本 1.2.0.0 (1.4 KB) 作者: Massimo Fierro
Commodity function for building a circulant matrix given a vector
981.0 次下载
更新时间 2009/2/2

查看许可证

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

引用格式

Massimo Fierro (2024). Circular Matrix computation (https://www.mathworks.com/matlabcentral/fileexchange/22814-circular-matrix-computation), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息
标签 添加标签
致谢

参考作品: Hysteresis Thresholding

启发作品: Circulant matrix, circulant

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
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