bugGNU Octave - Bugs: bug #42467, [octave forge] (signal) besself...

 
 

bug #42467: [octave forge] (signal) besself doesn't support band-pass or stop-band filters

Submitter:  None
Submitted:  Fri 30 May 2014 04:49:59 PM UTC
   
 
Category:  Octave Package Severity:  1 - Wish
Priority:  1 - Later Item Group:  Feature Request
Status:  Postponed Assigned to:  None
Originator Name:  Andrzej Ostruszka Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * dev
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 27 May 2015 01:15:00 PM UTC, comment #3: 

Updating this bug description and severity. The latest signal package release at least has a better error message now that band-pass filters are not yet implemented.

Mike Miller <mtmiller>
Group Member
Tue 03 Mar 2015 08:31:02 AM UTC, comment #2: 

I get the same error for band pass filters in GNU Octave, version 3.8.2

Please fix :)
Thank you!

--
Stef


>> [b,a] = besself (10, [0.05,0.3]);

error: Invalid call to poly.  Correct usage is:

 -- Function File:  poly (A)
 -- Function File:  poly (X)

error: called from:
error:   C:\Octave\Octave-3.8.2\share\octave\3.8.2\m\help\print_usage.m at line 89, column 5
error:   C:\Octave\Octave-3.8.2\share\octave\3.8.2\m\polynomial\poly.m at line 69, column 5
error: evaluating argument list element number 1
error:   C:\Octave\Octave-3.8.2\share\octave\packages\signal-1.3.0\besself.m at line 116, column 7

Stefanie Castillo <stefaniecg>
Fri 30 May 2014 05:03:01 PM UTC, comment #1: 

Thanks for your bug report. Confirmed here also with 3.8.1 and current signal development branch.

Function is not completely nonfunctional, it does work for a lowpass filter, e.g.


[b,a] = besself (6, 0.2);


Mike Miller <mtmiller>
Group Member
Fri 30 May 2014 04:49:59 PM UTC, original submission:  

I've tried to create band pass filter:

[b,a] = besself(6, 2*[10 25]/128);
error: Invalid call to poly.  Correct usage is:

 -- Function File: poly (A)
 -- Function File: poly (X)
 
error: called from:
error:   /usr/share/octave/3.8.1/m/help/print_usage.m at line 89, column 5
error:   /usr/share/octave/3.8.1/m/polynomial/poly.m at line 69, column 5
error: evaluating argument list element number 1
error:   /home/andrzej/octave/signal-1.3.0/besself.m at line 116, column 7

The problem seems to be that sftransf() used inside produces complex matrix 5*2 (for these params at least) and poly refuses to accept it because it requires column or square matrix.

Tried on Ubuntu 14.04 with 3.8.1 octave and signal package from repository (1.2.2).  The same is for 1.3.0 installed via locally via pkg (the output above is from that).

I hope that I have not messed up anything - I just wanted to test bandpass filter with [10 25]Hz window (I've got 128Hz sampling).

Regards
Andrzej


Anonymous

 

(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 jwe (Updated the item)
  • -email is unavailable- added by stefaniecg (Posted a comment)
  • -email is unavailable- added by None (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 15 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-26 mtmiller Assigned tomtmiller None
        Releaseother dev
    2019-02-26 mtmiller Carbon-CopyRemoved 80942 -
    2018-04-04 mtmiller Priority3 - Low 1 - Later
        StatusConfirmed Postponed
    2017-08-13 jwe Summarysignal package: besself doesn't support band-pass or stop-band filters [octave forge] (signal) besself doesn't support band-pass or stop-band filters
    2016-03-29 mtmiller Assigned toNone mtmiller
    2015-05-27 mtmiller Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupIncorrect Result Feature Request
        Summarysignal package: besself fails on band pass filter signal package: besself doesn't support band-pass or stop-band filters
    2014-05-30 mtmiller StatusNone Confirmed
        Release3.8.1 other
        Operating SystemGNU/Linux Any
        Summarybesself from signal package seems to be nonfunctional signal package: besself fails on band pass filter

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code