if I have 3 vectors. r1, r2, and r3, all of them vectors (10,3) How can I use a loop for plotting in 3D the three vectors at same time? I've bee trying this but is not working.
for j=1:1:3
plot3(r(j)(:,1),r(j)(:,2),r(j)(:,3))
hold on
end
im trying to plot:
plot3(r1(:,1),r1(:,2),r1(:,3))
hold on
plot3(r2(:,1),r2(:,2),r2(:,3))
hold on
plot3(r3(:,1),r3(:,2),r3(:,3))