Here is my code:
D=[1 4 7 5];for i=1:length(D) A=D(1,i) B=A+3 C=B-5end
How do I create a column vector of values for each variable in the for loop (I want a column vector for all the A values, another column vector for all the B values, and one last column vector for all the C values?
Best Answer