Spiral_decomp

版本1.0.0.0(1.59 kb) Athanasios Makris
函数Spiral_Decomp按螺旋顺序将给定矩阵分解为行矢量。

307下载

更新2009年8月25日

查看许可证

输入
-------
a = a n x m矩阵(真实或复杂)

输出
---------
y = an(1 x(n * m))矢量,其中包含螺旋顺序的拍摄元素。

兼容性
--------------------------
MATLAB 7.2及以后

笔记
---------------
此功能利用函数matrix_perimeter.m

例子
----------------

>> a =魔术(5)

a =

17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9

>> X = Spiral_Decomp(a)

x =

第1至14列

17 24 1 8 15 16 22 3 9 2 25 18 11 10

第15至25列

4 23 5 7 14 20 21 19 12 6 13

引用为

Athanasios Makris(2022)。Spiral_decomp(//www.tatmou.com/matlabcentral/fileexchange/25130-spiral_decomp),matlab中央文件交换。检索

MATLAB释放兼容性
使用R2007B创建
与任何版本兼容
平台兼容性
视窗 苹果系统 Linux

社区寻宝

在Matlab Central中找到宝藏,发现社区如何为您提供帮助!

开始狩猎!