bugGNU Octave - Bugs: bug #46621, control package: tfdata numerator...

 
 

bug #46621: control package: tfdata numerator and denominator should have equal length

Submitter:  None
Submitted:  Mon 07 Dec 2015 12:37:43 AM UTC
   
 
Category:  Octave Package Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  octave-forge
Originator Name:  Alexander Wilms Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * other
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 17 May 2016 05:11:29 PM UTC, comment #1: 

Bug #43947 is essentially the same issue, both the num and den properties should have the same length for Matlab compatibility, as well as the vectors returned by tfdata.

Mike Miller <mtmiller>
Group Member
Mon 07 Dec 2015 12:37:43 AM UTC, original submission:  

The vectors containing the numerator and denominator coefficients have the same length in Matlab. Coefficients of terms that have exponents bigger than the degree of the other polynomial are given as 0. In Octave, they don't appear in the returned vector and thus NUM and DEN can have different lengths.


pkg load control
s=tf('s')
g=1/(1+s)
[num,den]=tfdata(g)


Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by mtmiller
  • -email is unavailable- added by siko1056 (Updated the item)
  • -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 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-17 mtmiller StatusConfirmed Duplicate
        Open/ClosedOpen Closed
    2016-05-17 mtmiller Dependencies- Depends on bugs #43947
    2016-05-17 mtmiller Dependencies- bugs #43947 is dependent
    2016-05-17 mtmiller Severity3 - Normal 1 - Wish
    2016-05-17 mtmiller StatusNone Confirmed
        Release4.0.0 other
        Operating SystemMicrosoft Windows Any
        Summary[NUM,DEN]=tfdata(g) output different from Matlab output control package: tfdata numerator and denominator should have equal length
        Carbon-Copy- Added paramaniac
    2015-12-21 siko1056 Assigned toNone octave-forge

    Back to the top

    Powered by Savane 3.13-5190.
    Corresponding source code