[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gauss2DFit question
- Subject: Re: Gauss2DFit question
- From: "K. Bowman" <k-bowman(at)null.tamu.edu>
- Date: Tue, 09 May 2000 15:46:06 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: Texas A&M University, College Station, Texas
- References: <090520001530100771%k-bowman@null.tamu.edu>
- User-Agent: YA-NewsWatcher/5.0.0
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:19513
In article <090520001530100771%k-bowman@null.tamu.edu>, K. Bowman <k-bowman@null.tamu.edu> wrote:
> xr = (xx - a[4])*COS(a[6]) - (yy - a[4])*SIN(a[6]) ;Rotate x
> yr = (xx - a[4])*SIN(a[6]) + (yy - a[4])*COS(a[6]) ;Rotate y
should be
xr = (xx - a[4])*COS(a[6]) - (yy - a[5])*SIN(a[6]) ;Rotate x
yr = (xx - a[4])*SIN(a[6]) + (yy - a[5])*COS(a[6]) ;Rotate y
but it doesn't fix the problem.
Ken