bugGNU Octave - Bugs: bug #62053, [octave forge] (control) Problem...

 
 

bug #62053: [octave forge] (control) Problem with the size of the input arguments of the acker function

Submitter:  Luiz Antonio Maccari Junior <luiz>
Submitted:  Mon 14 Feb 2022 09:03:51 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Luiz Antonio Maccari Jr. Open/Closed:  * Closed
Release:  * 6.4.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 20 Mar 2022 04:19:37 PM UTC, comment #4: 

If you would like to get the fixed version before the next release, you can just call "edit acker" in Octave and manually make the small changes included in the patch (see link below). This of course only works if you have write access to the location were the control package is located on you system.

Torsten Lilge <ttl>
Group Member
Sun 20 Mar 2022 03:17:26 PM UTC, comment #3: 

Thanks for your help and attention.

Luiz Antonio Maccari Junior <luiz>
Sun 20 Mar 2022 12:53:15 PM UTC, comment #2: 

This is fixed in the package repository with commit https://sourceforge.net/p/octave/control/ci/0e6ba1b8d5e777a19a6e1101a092744745f43d39/
The change will be included in the next release of the control package.

Torsten Lilge <ttl>
Group Member
Thu 17 Mar 2022 08:29:33 PM UTC, comment #1: 

Thanks for the report. I can confirm this bug and will prepare a patch.

Torsten Lilge <ttl>
Group Member
Mon 14 Feb 2022 09:03:51 PM UTC, original submission:  

Hello,

I have noticed that the acker function is accepting on its third input argument (vector of desired poles) a vector with any size. The size of this argument should be of the same size as the dimension of the first argument (dynamic matrix A).

This behavior is not present on MATLAB. There if a vector of different size is used the function gives a error statement. See below an example of the wrong behavior:

A = [1 20; 5 7];
B =  [1; 0;];
C = [0 1];
D = 0;

poles = [-1 -2 -3 -5];

K = acker(A,B,poles)

The vector K obtained does not make sense. It was expected an error message

Luiz Antonio Maccari Junior <luiz>

 

(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 ttl (Posted a comment)
  • -email is unavailable- added by luiz (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-20 ttl StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2022-03-17 ttl StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code