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

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

[Octave-bug-tracker] [bug #46566] control 3.0.0: ctranspose of TF functi


From: anonymous
Subject: [Octave-bug-tracker] [bug #46566] control 3.0.0: ctranspose of TF function return wrong results
Date: Sun, 29 Nov 2015 15:50:06 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:42.0) Gecko/20100101 Firefox/42.0

URL:
  <http://savannah.gnu.org/bugs/?46566>

                 Summary: control 3.0.0: ctranspose of TF function return
wrong results
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Вск 29 Ноя 2015 15:50:01
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: bezkor
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Wrong indexes range of coefficient of TF's num and den when conjugate.

Reproduce bug:

>> s=tf('s')
Transfer function 's' from input 'u1' to output ...
 y1:  s
Continuous-time model.
>> ctranspose(s+1)
Transfer function 'ans' from input 'u1' to output ...
 y1:  s - 1
Continuous-time model.
# expect as (-s+1)
>> ctranspose(s^2)+ctranspose(s+1)
Transfer function 'ans' from input 'u1' to output ...
 y1:  s^2 + s - 1
Continuous-time model.
# expect as (s^2-s+1)
>> ctranspose(s^2+s+1)
Transfer function 'ans' from input 'u1' to output ...
 y1:  s^2 - s + 1
Continuous-time model.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46566>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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