MATLAB: Zeros matrix

MATLABmatrixzeros

I want to create vector of n by n zeros matrix from 1:k. How I can do. Plz help

Best Answer

Huh?
doc zeros
Maybe:
zeros(n)
or
zeros(n,n,k)