bugGNU Octave - Bugs: bug #58342, [octave forge] (signal) zplane not...

 
 

bug #58342: [octave forge] (signal) zplane not returning handles

Submitter:  None
Submitted:  Sat 09 May 2020 06:37:23 PM UTC
   
 
Category:  Octave Package Severity:  2 - Minor
Priority:  3 - Low Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 09 May 2020 08:35:09 PM UTC, comment #1: 

Confirmed, would be good to have compatible return values.

Mike Miller <mtmiller>
Group Member
Sat 09 May 2020 06:37:23 PM UTC, original submission:  

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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-09 mtmiller CategoryOctave Function Octave Package
        Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        StatusNone Confirmed
        Release4.2.2 dev
        Summaryzplane not returning handles [octave forge] (signal) zplane not returning handles

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code