help-octave
[Top][All Lists]
Advanced

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

Re: error in xcorr2


From: Juan Pablo Carbajal
Subject: Re: error in xcorr2
Date: Thu, 7 Jun 2012 19:18:50 +0200

On Thu, Jun 7, 2012 at 7:02 PM, Jorge Alliende <address@hidden> wrote:
> Hi there,
>
> Sorry for the noise, but I want to user xcorr2 and I get an error. I am
> using
>
> GNU Octave, version 3.6.1
>
> Octave was configured for "i686-pc-mingw32".
>
> running on windows 7
>
> has this warnings at the start
> warning: gmsh does not seem to be present some functionalities will be
> disabled
> warning: dx does not seem to be present some functionalities will be
> disabled
> warning: function
> C:\Octave2\Octave3.6.1_gcc4.6.2\Octave3.6.1_gcc4.6.2\share\octave\packages\statistics-1.1.0\fstat.m
> shadows a core library function
>
> to try xcorr2 I made
>
> x=rand(8,8)
> y=rand(8,8)
> z=rand(4,4)
>
> [r,lags]=xcorr(x,y,'coeff')
> [r,lags]=xcorr(x,z,'coeff')
>
> and I get
> error: element number 2 undefined in return list.
>
> II would appreciate any help. May be its a bug and I should send this to
> another place,
> Thanks in advance
> Jorge
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>

Hi Jorge,

If you check the help of xcorr2 (i.e. "help xcorr2") you will see that
it doesn't return a second argument. Just the correlations.
This at least is in signal-1.1.3

Cheers

-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

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