MATLAB: Insert values into an array

cell arraysMATLABvariableworkspace

A = [1 3 5 6 7 13]
I want to insert 0 in the 1st cell resulting in
A=[0 1 3 5 6 7 13]
Thanks

Best Answer

A = [0 A]; %build new array
Or:
A(2:end+1) = A; %shift over and zero
A(1) = 0;