comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » least square error for a sinusoid
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
least square error for a sinusoid [message #41042] Wed, 15 September 2004 15:31
yaj is currently offline  yaj
Messages: 6
Registered: July 2004
Junior Member
Hello,
I am fitting a function of the form
ASin(wt + theta) + constant to a set of points. Instead of a readymade
fitting routine from IDL (to avoid any potential problems with small numbers
later), I use the three linear equations to minimize the least square error,
then use an IDL function to solve the matrix equation. Could someone suggest
a simple way to calculate the least squares error and goodness of fit using
some higher level IDL functions ?
Thanks in advance
[Message index]
 
Read Message
Previous Topic: least square error for a regression
Next Topic: OO IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 11:43:49 PDT 2025

Total time taken to generate the page: 0.07938 seconds