make array 10 zeroz code example
Example 1: matlab matrix zeros
X = zeros(4) % Creates a 4x4 matrix of zeros.
X = zeros(3,2) % Creates a 3x2 matrix of zeros.
Example 2: matlab zero vector
row = zeros(1,10);
column = zeros(10,1);
X = zeros(4) % Creates a 4x4 matrix of zeros.
X = zeros(3,2) % Creates a 3x2 matrix of zeros.
row = zeros(1,10);
column = zeros(10,1);