www.slide4math.com

 

This is my version of explanation. I would suggest you to come up with your own explanation. The best way would be for you to try explain this to somebody else in your own words.

 

Following is my version of explanation, but this is just an example. You may come up with a better version.

 

 

Matrix Real - Rotate

 

 

 

 

 

 

Followings are the code that I wrote in Octave to creates all the plots shown in this page. You may copy these code and play with these codes. Change variables and try yourself until you get your own intuitive understanding.

 

< Code 1 >

 

x = [ ...     

     0  45; ...

     14 45; ...

     26 13; ...

     39 45; ...

     52 45; ...

     52 0; ...

     44 0; ...

     44 38; ...

     30 0; ...

     21 0; ...

     8  38; ...

     8  0; ...

     0  0; ...

     0  45; ...

     ];

 

x = x';

 

n = 1;

m = [cos(n*2*pi/20) -sin((n*2*pi/20); ...

       sin(n*2*pi/20) cos(n*2*pi/20)];

 

tx = m * x;

     

hFig = figure(1,'Position',[300 300 700 250]);     

subplot(1,7,[1 3]);     

plot(x(1,:),x(2,:),'b-');

axis([-100 100 -100 100]);

grid on;

 

subplot(1,7,[5 7]);     

plot(tx(1,:),tx(2,:),'b-');

axis([-100 100 -100 100]);

grid on;