help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Polynomial interpolation


From: Ariana del Toro
Subject: Re: Polynomial interpolation
Date: Mon, 22 Jun 2015 17:22:00 -0700

http://www.mathworks.com/help/matlab/ref/polyfit.html

Please see the first example. You need to feed polyfit two vectors, x and y of the same size. 

so define x and y separately in your case it looks like:

 x = [1, 2, 3, 4, ....]
y = [ 73, 99, 90, 24...]

and finally n is the number of points you want to fit the array to. n can equal up to # of point - 1.

On Mon, Jun 22, 2015 at 1:15 PM, Cinthia Mesquita Pinke Cavalcanti <address@hidden> wrote:

Dear Sir/ Madam

 

I am new to Octave, and I was not able to work with the polyfit function.

I have the matrix listed below and I want to find  the polynomial coefficients that fit to the points x,y:

 

 

What should I do?

 

Thanks in advance,

 

 

Cínthia Pinke

 

 

 

 

 


_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave




--
Ariana del Toro
DATA ANALYST
address@hidden  

Dot & Bo 
Inspired design for the modern lifestyle.

Dot & Bo Dot & Bo Dot & Bo Dot & Bo Dot & Bo Dot & Bo 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]