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

 
 

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

Submitted by:  None
Submitted on:  Sat 09 May 2020 06:37:23 PM UTC  
 
Category:  Octave Forge 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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Confirmed, would be good to have compatible return values.

Mike Miller <mtmiller>
Project Administrator
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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-09 mtmiller CategoryOctave Function => Octave Forge 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.5