MATLAB: Matrix manipulations of columns

MATLABmatrixmatrix arraymatrix manipulation

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)

Best Answer

A(:,5)=zeros(size(A,1),1)