Correlation two vector

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Correlation two vector

shivax
hi,

i've vector A and vector B

i try to write:
 xcorr(A,B) but it give me error

i must to load what package? thank





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: Correlation two vector

marco atzeri-2
Am 6/23/2018 um 12:56 PM schrieb shivax:
> hi,
>
> i've vector A and vector B
>
> i try to write:
>   xcorr(A,B) but it give me error
>
> i must to load what package? thank
>

what size have A and B, and what is the error message ?

May be you need corr ?

I do not find any xcorr in octave,

https://octave.org/doc/interpreter/Correlation-and-Regression-Analysis.html#Correlation-and-Regression-Analysis
https://octave.org/doc/interpreter/Function-Index.html#Function-Index_fn_letter-X

Nor in the statistics package
https://octave.sourceforge.io/statistics/overview.html

---
Diese E-Mail wurde von AVG auf Viren gepr├╝ft.
http://www.avg.com


Reply | Threaded
Open this post in threaded view
|

Re: Correlation two vector

shivax
i've used  

https://octave.sourceforge.io/signal/function/xcorr.html

but is not correct...

it's correct to use corr

thank!





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: Correlation two vector

Mike Miller-4
On Sat, Jun 23, 2018 at 09:22:26 -0700, shivax wrote:
> i've used  
>
> https://octave.sourceforge.io/signal/function/xcorr.html

That page answers your question, xcorr is in the signal package.

--
mike

signature.asc (849 bytes) Download Attachment