Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data fitting in LSE method 1

Status
Not open for further replies.

iqbal67

Electrical
Sep 22, 2011
4
US
Hello

I am attaching the details of the problem here. Please help me to solve the problem with LSE fitting. I have 3 fitting parameters and i mentioned the measured data with which i want to fit my calculated data.

I would really appreciate your prompt response. If more information needed, i would immediately respond.
 
Replies continue below

Recommended for you

Hi

I understand that an exponential fit is fine. However, my primary intention is to find out the parameters that i mentioned. I must vary them to get the parameters as reasonable as possible. These extracted fitting parameters will be used to obtain another modeling equation. Please suggest me any good way of varying these parameters for LSE fitting. The data might not fit exactly, but i want to know how can i vary these parameters so that Mathcad will do the iteration for me to obtain minimum error. In MS Excel i can do it, but it does not converge well.

Thanks
 
The problem seems to be that varying the three coefficients doesn't lead to an improvement in the solution - other than screwing it up totally if driven into extremes.
 
I have found a way of fitting the data in Excel by using the solver function and using GRG nonlinear method (Office 2010). It gives some sort of result, by varying the 3 fitting parameters and doing iterations for a long time. I am looking for something similar to that, as i don't know Excel's algorithm!
 
@Occupant:
Those data are part of my next calculations, i did not remove those. This is a very big modeling calculation, i have just shown the initial step. After i get this correct, i can proceed to next steps. I understand that these are confusing, but i mentioned clearly what i want to vary and what is my goal, please look into that again. I would say this is a kind of optimization problem rather than exact data fitting. I need to optimize the fitting variables.Thanks.
 
Status
Not open for further replies.
Back
Top