Re: Help with understanding matrices
Re: Help with understanding matrices
- Subject: Re: Help with understanding matrices
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 12 Feb 2008 22:03:06 -0500
On Feb 12, 2008 8:40 PM, Mark J. Reed <email@hidden> wrote:
> Sx * cos(T)
> -Sx * sin(T)
> Sy * sin(T)
> Sy * cos(T)
>
> Which you then have to solve for Sx, Sy, and T.
Which it occurs to me isn't that hard. If the above quantities are
named A, B, C, D, where I think A matches mvalue_a, etc:
A = Sx * cos(T)
B = -Sx * sin(T)
C = Sy * sin(T)
D = Sy * cos(T)
then T = arctan( C/D), which should be the same as -arctan(B/A). Once
you know T, you can divide A by cos(T) to get Sx, and divide D by
cos(T) to get Sy.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden