📅  最后修改于: 2022-03-11 14:58:10.253000             🧑  作者: Mango
代码示例1
>> A = [1 2 3;
4 5 6];
>> B = repelem(A, 2, 3)
B =
1 1 1 2 2 2 3 3 3
1 1 1 2 2 2 3 3 3
4 4 4 5 5 5 6 6 6
4 4 4 5 5 5 6 6 6