make an array of all zeros code example
Example: matlab matrix zeros
X = zeros(4) % Creates a 4x4 matrix of zeros.
X = zeros(3,2) % Creates a 3x2 matrix of zeros.
X = zeros(4) % Creates a 4x4 matrix of zeros.
X = zeros(3,2) % Creates a 3x2 matrix of zeros.