row and column vectors
Objective: % creating the column vector. b = zeros(5,1); for i=2:5 b(1) = 1; b(i) = 1+ b(i-1); end % creating the row vector. for i=2:5 …
Objective: % creating the column vector. b = zeros(5,1); for i=2:5 b(1) = 1; b(i) = 1+ b(i-1); end % creating the row vector. for i=2:5 …