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

 
 

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

Submitter:  Susi Lehtola <jussilehtola>
Submitted:  Fri 11 May 2012 08:44:16 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.6.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-05-16 rik5 StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code