seq2con
源文档解释:Convert sequential vectors to concurrent vectors
源文档例1:
p1 = {1 4 2}
p2 = seq2con(p1)
结果:
p1 =
1×3 cell 数组
{[1]} {[4]} {[2]}
p2 =
1×1 cell 数组
{1×3 double}
{[1,4,2]}
源文档例2:
p3 = {[1; 1] [5; 4] [1; 2]; [3; 9] [4; 1] [9; 8]}
p4 = seq2con(p3)
结果:
p3 =
2×3 cell 数组
{2×1 double} {2×1 double} {2×1 double}
{2×1 double} {2×1 double} {2×1 double}
p4 =
2×1 cell 数组
{2×3 double}
{2×3 double}
{[1,5,1;1,4,2]}
{[3,4,9;9,1,8]}
con2seq
源文档解释:Convert concurrent vectors to sequential vectors
源文档例1: