MATLAB中A(i2:-1:i1,A(i2:-1:i1,【i表示矩阵行向量】还有A(i1:i2,:)=[][A B]=[A;B]
问题描述:
MATLAB中A(i2:-1:i1,
A(i2:-1:i1,【i表示矩阵行向量】
还有A(i1:i2,:)=[]
[A B]=[A;B]
答
A(i2:-1:i1,;)
A从i2行倒着选择到i1行,列全选
A(i1:i2,:)=[]
删除A从i1到i2行
[A;B]
A和B凑成一个新矩阵,竖着放A和B
[A B]
A和B凑成一个新矩阵,横着放A和B