|
|
global fit #2
I have an m x n matrix where every row can be fit with a1*exp(-k1*t)+a2*exp(-k2*t)+...
exponentials, and I like to find the a, k set which gives the best fit
for the hole surface. I was thinking to use lsqnonlin or lsqcurvefit but
I cannot find the way how to use it for a problem like this as ydata
should be a vector. Does someone have any idea?
|
|
0
|
|
|
|
Reply
|
Andras
|
5/24/2010 2:34:14 PM |
|
"Andras " <andras.lukacs@gmail.com> wrote in message <hte2p6$n6g$1@fred.mathworks.com>...
> I have an m x n matrix where every row can be fit with a1*exp(-k1*t)+a2*exp(-k2*t)+...
> exponentials, and I like to find the a, k set which gives the best fit
> for the hole surface. I was thinking to use lsqnonlin or lsqcurvefit but
> I cannot find the way how to use it for a problem like this as ydata
> should be a vector. Does someone have any idea?
Hi,
I'm looking for the same problem. A kinetic dataset that has to be fitted with a multiexponential function. The amplitudes for every curve can vary but the time constants k should be the same for every curve. The whole problem should be worked out as a global fit, is this possible?
My dataset:
xdata -> m x 1 time
ydata -> m x n absorbance
zdata -> 1 x p wavenumber
z can be ignored because it has nothing to do with the kinetics, but how to do a multiexponential global fit with matlab for a problem like this. Thanks in advance for every hint.
Greetings
Fred
|
|
0
|
|
|
|
Reply
|
Frederik
|
8/18/2010 12:34:22 PM
|
|
"Frederik Grosserueschkamp" <fred@bph.rub.de> wrote in message <i4gk0e$7it$1@fred.mathworks.com>...
> "Andras " <andras.lukacs@gmail.com> wrote in message <hte2p6$n6g$1@fred.mathworks.com>...
> > I have an m x n matrix where every row can be fit with a1*exp(-k1*t)+a2*exp(-k2*t)+...
> > exponentials, and I like to find the a, k set which gives the best fit
> > for the hole surface. I was thinking to use lsqnonlin or lsqcurvefit but
> > I cannot find the way how to use it for a problem like this as ydata
> > should be a vector. Does someone have any idea?
>
> Hi,
>
> I'm looking for the same problem. A kinetic dataset that has to be fitted with a multiexponential function. The amplitudes for every curve can vary but the time constants k should be the same for every curve. The whole problem should be worked out as a global fit, is this possible?
>
> My dataset:
>
> xdata -> m x 1 time
> ydata -> m x n absorbance
> zdata -> 1 x p wavenumber
>
> z can be ignored because it has nothing to do with the kinetics, but how to do a multiexponential global fit with matlab for a problem like this. Thanks in advance for every hint.
>
> Greetings
>
> Fred
Did you try use the surface fitting tool and define custom equation?
|
|
0
|
|
|
|
Reply
|
Grzegorz
|
8/18/2010 12:48:22 PM
|
|
> Did you try use the surface fitting tool and define custom equation?
In think that it is only possible to load vectors into the surface fitting tool but not the matrix ydata with the spectral information. But if there's a way I'll be very happy.
|
|
0
|
|
|
|
Reply
|
Frederik
|
8/18/2010 1:05:09 PM
|
|
|
3 Replies
345 Views
(page loaded in 0.135 seconds)
Similiar Articles: Problem with GNU AS - comp.lang.asm.x86I got the error: "relocation truncated to fit R_386_16 against data". Please ... s */ >.data >ok_msg: .string "OK\n" > >.text >.code16 >.global _start > >_start ... using lsqcurvefit to fit an ODE to data and finding parameters ...... testfunc.m function yprim=testfunc(t,y) global x yprim=zeros(1,1); yprim=-x.*y ... ode45 with a second order ODE - comp.soft-sys.matlab ... using lsqcurvefit to fit an ... PDF scaling - comp.os.linux.miscHi, Acroread has a "fit to ... abandon usenet and move to global videoconferencing.... I don't know about your version of evince but I can set the page width to fit ... Does reloading CR3 with the same value flush the TLB? - comp.lang ...I know that changing the CR3 register doesn't affect global pages, but what about non ... Since the 1,024 pages do > not fit in the 32-entry TLB, you're going to miss every ... problem using realsqrt with nonlinear regression - comp.soft-sys ...PROC NLP and R^2 - comp.soft-sys.sas Re ... The SAS procedure to fit nonlinear ... Fitting, Nonlinear Curve Fitting, Global Fitting - Origin Nonlinear regression ... Repeating sub-summary headers on new report page? [FMP6] - comp ...... and change page after 'n' lines, or use the 'Footer' part with a sophisticated global ... summary "headers" for those cases where all records for any > sub-summary won't fit ... PIX, PPTP and static NAT? - comp.dcom.sys.ciscoIf the traffic to some of the other systems doesn't fit the TCP + UDP only model ... static NAT? - comp.dcom.sys.cisco... nat (outside) 20 10.1.2.10 255.255.255.255 global ... Cell Boundary Detection - comp.soft-sys.matlab... into 3 greyscale images R = I(:,:,1); G = I(:,:,2); B = I(:,:,3); % Use Global ... CELL); s = regionprops(L,'all'); % Apply Parametric Equation of Ellipse % Fit ... good guess of starting point optimization - comp.soft-sys.matlab ...(e.g: in my case, I've several local minimum and global minimum) Anybody can answer ... Nonlinear curve fit fails to converge - comp.soft-sys.matlab ..... nothing more ... GlobalFit - Changing lives through physical activityWelcome to GlobalFit. We're here to put benefits for healthier living within reach for you and your family. However you choose to feel better and live smarter ... GlobalFit - Find A ClubWelcome to GlobalFit. We're here to put benefits for healthier living within reach for you and your family. However you choose to feel better and live smarter ... 7/22/2012 1:35:17 AM
|
|
|
|
|
|
|
|
|