help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Surface fitting


From: jlapin
Subject: Surface fitting
Date: Sun, 22 Feb 2015 12:14:13 -0800 (PST)

Hello Everyone

I am currently working in a Pchem lab and am trying to model spectroscopy
data. I have a 256 x 433 unit matrix of signal data. Each signal is a
function of a wavelength value and a time value. So far I have used the
functions "nonlin_curvefit" and "leasqr" to fit the data one row(or column)
at a time. Now I would like to fit the entire surface to an equation that is
a function of both time and wavelength.

The inputs of the function leasqr are leasqr(*x,y,pin,f*). Y will be the
256x433 signal data, pin will be my initial parameter guesses and f will be
my function handle. The problem I am having is the x vector(s) for
independent values. This is a function of both the wavelength and time
variables. 

What can I put in for the x argument so that the leasqr function fits the
entire matrix?

Thank you
Joel 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Surface-fitting-tp4668758.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]