Skip to main content
1-Visitor
September 19, 2012
Question

problems with polyfitc

  • September 19, 2012
  • 1 reply
  • 1473 views

I'm pretty new to mathcad and I'm having problems getting polyfitc to do what I want.

I have a matrix with independed data and a matrix with depended data and the following model function I want to map to is.

mathcad.jpg

how do I get this model formula into polyfitc?

update: I have added an example sheet. Problem with genfit and leastsquaresfit is that it is a multi variant regression

1 reply

19-Tanzanite
September 21, 2012

In your worksheet your Y data is also included in your X data! I suspect you don't mean this!

Alan

19-Tanzanite
September 21, 2012

Perhaps the attached will be of use - assuming I've interpreted what you want correctly!

Alan

1-Visitor
September 21, 2012

hi alan,

thanks for you help.

I need to use the fitting model as I wrote it in my original file due to easier computation in a microcontroller.

I had investigated the simplified model as you wrote it but that was not going to work out in the micro.

I found that multidfit function can be used with my own fitting function.

The only thing I miss is statistics about the regression model generated by multidfit.

I have to do this by hand but that was not a real problem.