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

 
 

bug #58218: [octave forge] (signal) cheb2ap function - 'Rs' undefined error

Submitter:  Михаил <aitras>
Submitted:  Tue 21 Apr 2020 09:08:14 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 24 Apr 2022 11:03:48 AM UTC, comment #4: 

Closing as fixed with the new release of signal 1.4.2

John Donoghue <lostbard>
Group Member
Thu 21 Apr 2022 09:34:38 PM UTC, comment #3: 
John Donoghue <lostbard>
Group Member
Fri 09 Apr 2021 09:31:57 PM UTC, comment #2: 

Attached patch.
Fixed typo, added demo, and error checks.



(file #51221)

Anonymous
Tue 21 Apr 2020 03:18:17 PM UTC, comment #1: 

Changing category to "Octave Forge Package" as the function belongs to the signal package, rather than core Octave.

Rik <rik5>
Group administrator
Tue 21 Apr 2020 09:08:14 AM UTC, original submission:  

I got an error "'Rs' undefined" while using the function cheb2ap.

Error in function header in cheb2ap.m - Rp needs to be fixed on Rs:

function [z, p, g] = cheb2ap (n, Rp)

  if (nargin != 2)
    print_usage();
  elseif (! isscalar (n) || ! isnumeric (n) || fix (n) != n || n <= 0)
    error ("cheb2ap: N must be a positive integer")
  elseif (! isscalar (Rs) || ! isnumeric (Rs) || Rs < 0)
    error ("cheb2ap: RS must be a non-negative scalar")
  endif
  [z, p, g] = cheby2 (n, Rs, 1, "s");

endfunction

Михаил <aitras>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #51221:  cheb2ap.patch added by None (1KiB - text/x-patch)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by aitras (Submitted the item)
  • -email is unavailable- added by aitras
  •  

    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 13 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-24 lostbard StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-04-21 lostbard StatusNone Ready For Test
        Assigned toNone lostbard
    2021-12-19 mmuetzel Dependencies- bugs #61695 is dependent
    2021-04-09 None Attached File- Added cheb2ap.patch, #51221
    2020-04-21 mmuetzel Carbon-CopyRemoved 102357 -
    2020-04-21 mmuetzel Release5.2.0 other
        Operating SystemMicrosoft Windows Any
        Summarycheb2ap function - 'Rs' undefined error [octave forge] (signal) cheb2ap function - 'Rs' undefined error
    2020-04-21 rik5 Carbon-CopyRemoved 72865 -
    2020-04-21 rik5 CategoryOctave Function Octave Package
    2020-04-21 aitras Carbon-Copy- Added aitras

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code