MATLAB: How to make a vector of zeros.

vector

hey guys. i want to make a vector of zeros. something like:
V=[0 0 0 0 0 0 0 0 0 0 0 0]
but with so many zeros. please give me a fast solution

Best Answer

n = number of zeros
v = zeros(1,n);