[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59568] The signal:buffer() function generates
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #59568] The signal:buffer() function generates an extra output column in some cases |
Date: |
Sat, 28 Nov 2020 04:16:08 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?59568>
Summary: The signal:buffer() function generates an extra
output column in some cases
Project: GNU Octave
Submitted by: None
Submitted on: Sat 28 Nov 2020 09:16:06 AM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Paolo Vicari
Originator Email: paolo.vicari@katamail.com
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Details:
Dear Octave team,
The buffer() function in package 'signal-1.4.1' gives incorrect results (a
wrongly sized output) with some specific parameter combinations.
The issue seems to be due to a wrong computation of the number of output
columns when the 'overlap' parameter is specified, resulting in an extra
column being output.
I can provide two verified cases of inconsistencies with Matlab R2017a:
buffer((1:16).', 8, 6, 'nodelay') outputs a matrix with 6 columns in Octave,
versus 5 in Matlab R2017a.
buffer((1:16).', 8, 7, 'nodelay') outputs a matrix with 10 columns in Octave,
versus 9 in Matlab R2017a.
The wrongly sized output causes errors in functions which use the buffer()
function to generate data autocorrelation matrices (like Matlab's corrmtx).
Thank you for your support,
Paolo
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59568>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59568] The signal:buffer() function generates an extra output column in some cases,
anonymous <=