help-octave
[Top][All Lists]
Advanced

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

Re: Linear Regression


From: Marco Atzeri
Subject: Re: Linear Regression
Date: Fri, 7 Dec 2018 19:30:53 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2

Am 07.12.2018 um 18:52 schrieb LucaLuca:
hi,
look this pics

https://gyazo.com/1f61457f939308195d72bba5f4266bc5

i need to find linea regression

i use this formula:

A=[4 3 2 0 1 8]
B=[1 2 3 4 5 6]

regress(A,B)

is write :error: regress: y must be a column vector

i don't understand :|

you give rows, it needs columns

regress(A',B')
ans =  0.75824



i read example but i don't understand that..

i need to find a series of points that approximate my range A


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus




reply via email to

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