Hello, I'd like to create new variables in a for loop that are matrices. It wolud be something along the lines of:
for i=1:n
ki=
[a(i) b(i) a(i)*b(i) -a(i)*b(i);…….;etc.]
So it would create variables k1,k2…kn with the first row if k1 being a(1) b(1) etc. Any way to do this? This would really help simplify my code.
Best Answer