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

Home » Public Forums » archive » Is zero-degree fitting possible?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Is zero-degree fitting possible? [message #6027] Wed, 10 April 1996 00:00
kpham is currently offline  kpham
Messages: 3
Registered: April 1996
Junior Member
I am having problems doing a very simple zero-degree fit, i.e. fitting
only one parameter. I've tried POLY_FIT, CURVEFIT, and SVDFIT.
They each return the following error:

IDL> F = POLY_FIT(Ycalculated, Yexperiment, 0)
% INVERT: Input must be a square matrix: A.
% Error occurred at: POLY_FIT 79 @IDL_DIR:[LIB]LIB.TLB(POLY_FIT)

etc.

I just want to find F such that (F * Ycalculated) gives the best fit
to (Yexperiment).

Am I missing something really simple here?

Any help is greatly appreciated.
Khai Pham
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 3D Interpolations?
Next Topic: Re: passing idl structures in call_external ?

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

Current Time: Wed Oct 08 13:44:57 PDT 2025

Total time taken to generate the page: 0.00550 seconds