From: Danna on
p=[-3,2,-1;4,-2,3;5,-4,-2;-3,2,-1];
rho = pi/8;
RotMatrix=[cos(rho),-sin(rho),0;sin(rho),cos(rho),0;0,0,1];
for i = 1:64
pp=p*RotMatrix;
pause(.08)
plot(pp(:,1),pp(:,2))
hold on
grid on
end
From: us on
"Danna " <silver_girl(a)hotmail.com> wrote in message <i2hvg3$n9h$1(a)fred.mathworks.com>...
> p=[-3,2,-1;4,-2,3;5,-4,-2;-3,2,-1];
> rho = pi/8;
> RotMatrix=[cos(rho),-sin(rho),0;sin(rho),cos(rho),0;0,0,1];
> for i = 1:64
> pp=p*RotMatrix;
> pause(.08)
> plot(pp(:,1),pp(:,2))
> hold on
> grid on
> end

do NOT double post...

us