[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35334] "filter" command does not accept "SI"
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #35334] "filter" command does not accept "SI" argument |
Date: |
Fri, 20 Jan 2012 04:30:13 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 |
URL:
<http://savannah.gnu.org/bugs/?35334>
Summary: "filter" command does not accept "SI" argument
Project: GNU Octave
Submitted by: None
Submitted on: Fri 20 Jan 2012 04:30:12 AM UTC
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name: Peter Adamczyk
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.3
Operating System: Microsoft Windows
_______________________________________________________
Details:
Hi Octave,
I was trying to use "filtfilt" to do two-way filtering, and it I kept getting
an error from "filter", which is called from within.
I tried again with "filter" directly, and it seems to fail whenever one
includes an "SI" argument (4th argument). This appears to be a problem with
the internal code. See below for session output.
octave:11> b = randn(100,1)+sin((1:100)'/6);
octave:12> B = ones(1,5);
octave:13> A = 5;
octave:14> b2 = filtfilt(B,A,b);
error: filter: first dimension of SI must be of length max (length (a), length
(b)) - 1
error: called from:
error:
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octave\packages\signal-1.0.11\filtfilt.m
at line 85, column 3
octave:14> b3 = filter(B,A,b,[1 1 1 1]);
error: filter: first dimension of SI must be of length max (length (a), length
(b)) - 1
octave:14>
Thanks,
-Peter
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35334>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35334] "filter" command does not accept "SI" argument,
anonymous <=