I want to do a for loop in matlab for a specific numbers only. my problem is I want them to return as 5 different 3x3 matrices but my code only returns at one matrix 15x3. here is my code:
for a = [0;10;20;30;45]
T = [ cosd(a).^2 sind(a).^2 -sind(2*a);
sind(a).^2 cosd(a).^2 sind(2*a);
.5*sind(2*a) -.5*sind(2*a) cosd(2*a)];
end
Thank You