matrix manipulations of columns

1 次查看(过去 30 天)
Hi guys,
does any one knows how to generate a matrixD that adds a new column of zeros to matrix A.This cloumn must be placed between the 4th and 5th column of matrix A
pls note that matrix A is A=random('norm',3,0.2,100,100)

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-5-8
A(:,5)=zeros(size(A,1),1)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Just for fun 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by