Can someone help me? Please??

SoarHighBeFree

New member
Joined
Nov 13, 2005
Messages
3
I need some major help.. I was doing my project and everything was fine until I got to the part where I had to rotate this matrix(actually, an image of Snoopy) 180 degrees. I thought no problem, I'll look it up in my math book. Trouble is, I left it at school. And everything on the Internet is just too complicated for me to understand. *sigh* It's due tomorrow and I feel like the world is coming to an end! Cam someone please tell me(or at least help me figure out) what in the world you tell a matrix by to rotate it 180 degrees? Thank you so much(and you will be a hero, for you would have saved the world from unknown catrastrophe!) Please and Thank you!!! Please reply ASAP!
 
180 degree flip

so no flip at all :

x y
x 1 0
y 0 1

x = x*1 + y*0 (x=x)
y = x*0 + y*1 (y=y)

and then a vertical flip

x y
x 1 0
y 0 -1

x = x*1 + y*0 (x=x)
y = x*0 + y*-1 (y=-y)

a horizintal flip

x y
x -1 0
y 0 1

x = x*-1 + y*0 (x=-x)
y = x*0 + y*1 (y=y)
 
I am really sorry, but I didn't understand that at all. I am doing an image rotation so I have a lot of numbers I have to do and I was taught matrices in square brackets like [2 3]x[2 3] Do you know what I mean? Can you possibly by any chance explain it to me like that? If not, thank you for the above post(because you took time out of your life to at least help me and the world!!!) Thanks:)
 
SoarHighBeFree said:
I was taught matrices in square brackets...
So take the unformatted matrices the poster gave you, such as:

. . . . .. .x y
. . . . .x 1 0
. . . . .y 0 1

...and put them into brackets:

. . . . .[1 0]
. . . . .[0 1]

Eliz.
 
You guys are awesome:) Thank you so much! You both saved the world from destruction!!! (and me. boy, I thought I was going to go crazy!) Thank you so much!!!!!
 
Top