circulant:(又一个,但很快)循环矩阵-matlab开发

时间:2021-05-29 10:38:33
【文件属性】:
文件名称:circulant:(又一个,但很快)循环矩阵-matlab开发
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-29 10:38:33
matlab C = circulant(V) 或 circulant(V, 1) 返回循环矩阵 C 基于行/列向量 V。 C 是一个方阵,其中每个行/列是通过循环移动前面的行/列而形成的向前移动一个元素。 第一行(或列)等于 V。 C = circulant(V, -1) 应用后移,返回对称矩阵,所以 C 等于 TRANSPOSE(C)。 在这种情况下,没关系如果 V 是行或列向量。 例子: circulant([2 3 5]) % 前移% -> 2 3 5 R3 %3 5 2 circulant([2 3 5].') % 列输入%-> 2 5 3 25 S2circulant([2 3 5], -1), circulant([2 ; 3 ; 5], -1) % 后移% 对于行向量或列向量,这将返回一个对称矩阵: %-> 2 3 5 52 R3 输出
【文件预览】:
circulant.zip
circulant.m.zip

网友评论