octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58218] cheb2ap function - 'Rs' undefined erro


From: Михаил
Subject: [Octave-bug-tracker] [bug #58218] cheb2ap function - 'Rs' undefined error
Date: Tue, 21 Apr 2020 05:08:16 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 OPR/67.0.3575.137

URL:
  <https://savannah.gnu.org/bugs/?58218>

                 Summary: cheb2ap function - 'Rs' undefined error
                 Project: GNU Octave
            Submitted by: aitras
            Submitted on: Вт 21 апр 2020 09:08:14
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

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 




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58218>

_______________________________________________
  Сообщение отправлено по Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]