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

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

[Octave-bug-tracker] [bug #62053] [octave forge] (control) Problem with


From: Luiz Antonio Maccari Junior
Subject: [Octave-bug-tracker] [bug #62053] [octave forge] (control) Problem with the size of the input arguments of the acker function
Date: Mon, 14 Feb 2022 16:03:53 -0500 (EST)

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

                 Summary: [octave forge] (control) Problem with the size of
the input arguments of the acker function
                 Project: GNU Octave
            Submitted by: luiz
            Submitted on: Seg 14 Fev 2022 21:03:51 UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Luiz Antonio Maccari Jr.
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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  




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Mensagem enviada pelo Savannah
  https://savannah.gnu.org/




reply via email to

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