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

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

[Octave-bug-tracker] [bug #42986] signal package: buffer don't accept ov


From: anonymous
Subject: [Octave-bug-tracker] [bug #42986] signal package: buffer don't accept overlap > half window size
Date: Thu, 14 Aug 2014 13:50:11 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28

URL:
  <http://savannah.gnu.org/bugs/?42986>

                 Summary: signal package: buffer don't accept overlap > half
window size
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 14 Aug 2014 01:50:09 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: jy bernier
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Any

    _______________________________________________________

Details:

y = buffer (x, n, p, opt)

p : An integer less than n that specifies the under- or overlap between column
in the data frame


octave:8> buffer(1:30,6,3)
ans =
    0    1    4    7   10   13   16   19   22   25
    0    2    5    8   11   14   17   20   23   26
    0    3    6    9   12   15   18   21   24   27
    1    4    7   10   13   16   19   22   25   28
    2    5    8   11   14   17   20   23   26   29
    3    6    9   12   15   18   21   24   27   30

octave:9> buffer(1:30,6,4)
error: buffer: A(I,J,...) = X: dimensions mismatch
error: called from:
error:   /opt/local/share/octave/packages/signal-1.2.2/buffer.m at line 141,
column 27


buffer(1:1000,100,50) succeeds
buffer(1:1000,100,51) fails





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42986>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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