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

 
 

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

Submitted by:  None
Submitted on:  Fri 30 May 2014 04:49:59 PM UTC  
 
Category: Octave Forge PackageSeverity: 1 - Wish
Priority: 1 - LaterItem Group: Feature Request
Status: PostponedAssigned to: Mike Miller <mtmiller>
Originator Name: Andrzej OstruszkaOriginator Email: -unavailable-
Open/Closed: OpenRelease: other
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
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 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 jwe (Updated the item)
  • -unavailable- added by stefaniecg (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Apr 2018 10:24:20 PM UTCmtmillerPriority3 - Low=>1 - Later
      StatusConfirmed=>Postponed
    Sun 13 Aug 2017 01:27:01 PM UTCjweSummarysignal package: besself doesn't support band-pass or stop-band filters=>[octave forge] (signal) besself doesn't support band-pass or stop-band filters
    Tue 29 Mar 2016 06:00:27 PM UTCmtmillerAssigned toNone=>mtmiller
    Wed 27 May 2015 01:15:00 PM UTCmtmillerSeverity3 - 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
    Fri 30 May 2014 05:03:01 PM UTCmtmillerStatusNone=>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.1-cleanup1