cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to fit data with integral functions

FanCG
1-Visitor

How to fit data with integral functions

000.PNG

I used above objective function to fit my data in matlab, but the results are very sensitive to initial values,

could anybody please give me some advices on what should be noticed when doing the fittings in mathcad?

in the equation, Y~X are obtained from experiments, Sp and rsp are parameters to be estimated

5 REPLIES 5

Please attached the Mathcad worksheet.

Mike

Hi, Mike

For some reasons, I cannot upload the raw data this time, but I can use a similar problem as an example.

see below

figure.PNG

Data from experiments are plotted by (X,Y)

and I wanna use a normal distribution function as an objective function, but when I do this in mathcad, I often got complex σ and μ , and the results are initial value sensitive. see following process

figure.PNG

figure.PNG

attached are the mathcad 15 worksheet and its pdf counterpart

FanCG
1-Visitor
(To:FanCG)

but when I apply this method to another problem, there are no such strage results, see below:

000.PNG

figure.PNG

It works if you omit the first data pair with the x=-1. Is that pair real?

Yes, I noticed this last night, everything worked well when I used Re() to get the final results.

but I dont know why.

When I was a student, I encountered the similar problem in matlab: when I used a set of ODE to fit some data for obtaining concerned parameters. and the solution is also the same

Announcements

Top Tags