[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36449] octave function filter() does not take
From: |
Jussi Lehtola |
Subject: |
[Octave-bug-tracker] [bug #36449] octave function filter() does not take an initial state |
Date: |
Fri, 11 May 2012 08:44:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 |
URL:
<http://savannah.gnu.org/bugs/?36449>
Summary: octave function filter() does not take an initial
state
Project: GNU Octave
Submitted by: jussilehtola
Submitted on: Fri 11 May 2012 08:44:16 AM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.1
Operating System: GNU/Linux
_______________________________________________________
Details:
Fedora bug #820791
https://bugzilla.redhat.com/show_bug.cgi?id=820791
Description of problem:
filter() function does not accept an initial state
Version-Release number of selected component (if applicable):
octave-3.4.3-1.fc16.x86_64
How reproducible:
every time
Steps to Reproduce:
1. run octave
2. in octave:
octave:3> a=1;
octave:4> b=ones(5,1)/5;
octave:5> [x IS] = filter(b,a,[1;zeros(10,1)],[])
octave:6> IS
IS =
0
0
0
0
octave:7> [x IS] = filter(b,a,[1;zeros(10,1)],IS);
error: filter: first dimension of SI must be of length max (length (a),
length
(b)) - 1
but
octave:7> max (length (a), length (b)) - 1
ans = 4
???
Expected results:
IS is the returned filter state and is the correct dimensions, but is not
accepted as an input parameter
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36449>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36449] octave function filter() does not take an initial state,
Jussi Lehtola <=