help-octave
[Top][All Lists]
Advanced

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

RES: Polynomial interpolation


From: Cinthia Mesquita Pinke Cavalcanti
Subject: RES: Polynomial interpolation
Date: Tue, 23 Jun 2015 12:11:45 +0000

Hello,

 

Thanks for the tip, it worked just fine.

How can I get the correlation coefficient?

 

Thanks,

 

Cinthia Pinke

 

De: Ariana del Toro [mailto:address@hidden
Enviada em: segunda-feira, 22 de junho de 2015 21:22
Para: Cinthia Mesquita Pinke Cavalcanti
Cc: address@hidden
Assunto: Re: Polynomial interpolation

 

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:

 

cid:image001.jpg@01D0AD92.516A5D20

 

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]