[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32741] filter initial conditions do not work
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #32741] filter initial conditions do not work for matrix input |
Date: |
Thu, 10 Mar 2011 19:09:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.12) Gecko/2009070904 Red Hat/3.0.12-1.el4 Firefox/3.0.12 |
URL:
<http://savannah.gnu.org/bugs/?32741>
Summary: filter initial conditions do not work for matrix
input
Project: GNU Octave
Submitted by: None
Submitted on: Thu 10 Mar 2011 07:09:51 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: Valentin Abramzon
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: GNU/Linux
_______________________________________________________
Details:
When I try to use the filter function to perform IIR filtering on each column
of a matrix, specifying initial conditions produces and error:
filter( [ 1, 1 ], [ 1 ], [ 1 2; 3 4; 5 6 ], [ 1, 1 ] )
error: filter: first dimension of si must be of length max (length (a),
length (b)) - 1
Since a = [ 1 ] and b = [ 1, 1 ],
max(length (a), length (b)) - 1 = 1.
The first dimension of my initial condition si = [ 1, 1 ] is 1, so it seems
that this should work, not give me an error.
I also checked the same statement in Matlab, and it produces the expected
results:
>> filter( [ 1, 1 ], [ 1 ], [ 1 2; 3 4; 5 6 ], [ 1, 1 ] )
ans =
2 3
4 6
8 10
As far as I could tell, the was not fixed in Octave 3.4.0.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32741>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #32741] filter initial conditions do not work for matrix input,
anonymous <=