Thread Subject: Multivariate polynomial approximation

Subject: Multivariate polynomial approximation

From: Vincent Morio

Date: 29 Mar, 2008 14:01:20

Message: 1 of 3

Hi,

I have a highly nonlinear function depending on several
variables, i.e. y=f(x1,x2,...,xn). I would like to
approximate it numerically with a multivariate polynomial
such that:

y = sum_i (ai*x1^(b1)*...*xn^(bn))

Is there exists a matlab function which may perform this
approximation?

Best regards,
V. Morio

Subject: Multivariate polynomial approximation

From: John D'Errico

Date: 29 Mar, 2008 14:58:02

Message: 2 of 3

"Vincent Morio" <vincent.morio@mathworks.com> wrote in message
<fsli3g$3fj$1@fred.mathworks.com>...
> Hi,
>
> I have a highly nonlinear function depending on several
> variables, i.e. y=f(x1,x2,...,xn). I would like to
> approximate it numerically with a multivariate polynomial
> such that:
>
> y = sum_i (ai*x1^(b1)*...*xn^(bn))
>
> Is there exists a matlab function which may perform this
> approximation?

polyfitn

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?
objectId=10065&objectType=FILE

HTH,
John

Subject: Multivariate polynomial approximation

From: Vincent Morio

Date: 29 Mar, 2008 15:49:02

Message: 3 of 3

"John D'Errico" <woodchips@rochester.rr.com> wrote in
message <fslldq$3i$1@fred.mathworks.com>...
> "Vincent Morio" <vincent.morio@mathworks.com> wrote in
message
> <fsli3g$3fj$1@fred.mathworks.com>...
> > Hi,
> >
> > I have a highly nonlinear function depending on several
> > variables, i.e. y=f(x1,x2,...,xn). I would like to
> > approximate it numerically with a multivariate polynomial
> > such that:
> >
> > y = sum_i (ai*x1^(b1)*...*xn^(bn))
> >
> > Is there exists a matlab function which may perform this
> > approximation?
>
> polyfitn
>
>
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?
> objectId=10065&objectType=FILE
>
> HTH,
> John

Thank you John. Your function polyfitn works very well!!
Vincent

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
multivariate po... Vincent MORIO 29 Mar, 2008 10:05:04
approximation Vincent MORIO 29 Mar, 2008 10:05:03
rssFeed for this Thread

Contact us at files@mathworks.com