bugGNU Octave - Bugs: bug #36449, octave function filter() does not...

 
 

bug #36449: octave function filter() does not take an initial state

Submitted by:  Susi Lehtola <jussilehtola>
Submitted on:  Fri 11 May 2012 08:44:16 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.6.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 11 May 2012 11:15:50 AM UTC, comment #2:

OK, thanks. 3.6.1 is available in Fedora 17, so we'll think about updating Octave in Fedora 16 to 3.6.1 as well.

Susi Lehtola <jussilehtola>
Fri 11 May 2012 10:03:50 AM UTC, comment #1:

This is fixed on 3.6.1 and 3.7.0+
So you should upgrade.
Doug

Doug Stewart <dastew>
Fri 11 May 2012 08:44:16 AM UTC, original submission:

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

Susi Lehtola <jussilehtola>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by dastew (Posted a comment)
  • -unavailable- added by jussilehtola (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 May 2012 11:49:18 PM UTCrik5StatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1