octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #60076] [octave forge] (signal) xcorr bug for


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #60076] [octave forge] (signal) xcorr bug for large datasets
Date: Fri, 19 Feb 2021 06:08:18 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #60076 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #2:

I'm unsure about what you refer to, you didn't supply the faulty plots you
mentioned.
With Octave-5.2.0 & signal-1.4.1 and Octave-7.0.0 (dev) also with signal-1.4.1
(admittedly both on Windows) I get the attached plot for sightly amended plot
code; I don't see any difference between the underlying xcorr results.

a=mod(1:1000,2);               % 0,1,0,1,0,.....
plot(xcorr(a,a,20,'unbiased')) % looks fine

a=mod(1:10000,2);  % longer time-series
hold on
plot(xcorr(a,a,20,'unbiased') + 1, 'g') % same except for values + 1


Also the outputs o the .m file you supplied don't look suspicious to me.

Would you maybe have some stray xcorr.m in your path?
just type 'which xcorr' (w/o quotes)

(status -> Need Info)

(file #50884)
    _______________________________________________________

Additional Item Attachment:

File name: bug_60076.png                  Size:39 KB
    <https://file.savannah.gnu.org/file/bug_60076.png?file_id=50884>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60076>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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