"Steven " <steven_ew@hotmail.com> wrote in message <k65nv7$7rk$1@newscl01ah.mathworks.com>...
>
> If we let P = [(x-xc) * cos(t) - (y-yc) * sin*(t)] then this simplifies (in appearance) to:
> P^2 / a^2 + P^2 / (a/r)^2 = 1
>
> My question is, how can I solve this equation to find a?
rearrange as
a^2=P^2*(1+1/r^2)
>
> If we let P = [(x-xc) * cos(t) - (y-yc) * sin*(t)] then this simplifies (in appearance) to:
> P^2 / a^2 + P^2 / (a/r)^2 = 1
>
> My question is, how can I solve this equation to find a?
rearrange as
a^2=P^2*(1+1/r^2)