matlab中如何删除矩阵的某一列元素

A为M行N列矩阵,删除第i列(1<=i<=N),则:
B=[A(:,1:i-1),A(:,i+1:N)];
或直接在A上修改,
A(:,i)=[];
topic.csdn.net/u/20080725/17/b30c6b03-12c6-4022-9df9-de7fd5e0cb4c.html

Comments are closed.