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

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

[Octave-bug-tracker] [bug #50457] The function ellip(..., "s") results i


From: anonymous
Subject: [Octave-bug-tracker] [bug #50457] The function ellip(..., "s") results in error.
Date: Sat, 4 Mar 2017 08:37:43 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?50457>

                 Summary: The function ellip(...,"s") results in error.
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 04 Mar 2017 01:37:42 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Giuliano Gasparini
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Any

    _______________________________________________________

Details:

When using argument "s", the function must not work with normalized
frequencies, but with real radians/s.

The "sister" functions 
- butt(...,"s")
- cheby1(...,"s")
- cheby2(...,"s")
work properly.


Testcase:

tWp =   1
tGp =  -1
tWr =   2
tGr = -34
F   = 10000000000000000
[n,Wn]  = ellipord(tWp/F, tWr/F, -tGp, -tGr)
Wn     *= F
[z,p,k] = ellip(n, -tGr, Wn, 's')

results in:
error: ellip: all elements of W must be in the range [0,1]

This message just makes sense in the absence of 's' parameter.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50457>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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