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

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

[Octave-bug-tracker] [bug #54987] sos2tf throws an error in Octave, work


From: anonymous
Subject: [Octave-bug-tracker] [bug #54987] sos2tf throws an error in Octave, works fine in Matlab
Date: Thu, 8 Nov 2018 08:52:51 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134

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

                 Summary: sos2tf throws an error in Octave, works fine in
Matlab
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 08 Nov 2018 01:52:49 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Jim
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:


[b,a] = sos2tf(SOS,G);



error: sos2tf: operator *: nonconformant arguments (op1 is 1x17, op2 is 9x1)
error: called from
    sos2tf at line 79 column 5
    run_transfer_function at line 47 column 6


SOS =

   1.00000   0.61139   1.00000   1.00000   0.38860   0.96888
   1.00000  -0.61139   1.00000   1.00000  -0.38860   0.96888
   1.00000   0.80687   1.00000   1.00000   0.28434   0.93755
   1.00000  -0.80687   1.00000   1.00000  -0.28434   0.93755
   1.00000   1.52316   1.00000   1.00000   0.10733   0.90833
   1.00000  -1.52316   1.00000   1.00000  -0.10733   0.90833
   1.00000   0.55334   1.00000   1.00000   0.43367   0.99103
   1.00000  -0.55334   1.00000   1.00000  -0.43367   0.99103

G =

   0.741890
   0.741890
   0.658840
   0.658840
   0.506424
   0.506424
   0.063738
   0.063738
   1.000000




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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