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

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

[Octave-bug-tracker] [bug #58342] zplane not returning handles


From: anonymous
Subject: [Octave-bug-tracker] [bug #58342] zplane not returning handles
Date: Sat, 9 May 2020 14:37:25 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

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

                 Summary: zplane not returning handles
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 09 May 2020 06:37:23 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 4.2.2
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I have found a discrepancy between the matlab specification and
the octave implementation of the zplane function, found in the signal
package.

The octave implementation does not give any output values, but matlab does:

[hz,hp,ht] = zplane(___) returns vectors of handles to the zero lines, hz, and
the pole lines, hp. ht is a vector of handles to the axes/unit circle line and
to text objects, which are present when there are multiple zeros or poles./

https://se.mathworks.com/help/signal/ref/zplane.html#d120e189724

When I try to do e.g.

[hz,hp,ht] = zplane([0; 1; 1i], [0.3; 0.1])

The error

error: element number 1 undefined in return list

is printed. This should be a valid expression.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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