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

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

[Octave-bug-tracker] [bug #53481] Two different results depending how th


From: Dave Selfors
Subject: [Octave-bug-tracker] [bug #53481] Two different results depending how the variable is passed
Date: Mon, 26 Mar 2018 17:06:06 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

                 Summary: Two different results depending how the variable is
passed
                 Project: GNU Octave
            Submitted by: davidselfors
            Submitted on: Mon 26 Mar 2018 09:06:04 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Dave Selfors
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:


format long; 
pkg load signal;
R_RTHERM4 =13.783280;
C=[0.001061; 0.005484; .07; 5.3];

% Correct answer for Cap when setting G like 
G=[9.6212128500918830;   2.4427361576248789;   0.9090909090909091;  
0.0725516713003001];

[Res, Cap] = fostertocauer(G,C);
Cap

% Incorrect answer for Cap when setting G like this
G=[9.6212128500918830; 2.4427361576248789; 0.9090909090909091; 1/R_RTHERM4];
[Res, Cap] = fostertocauer(G,C);
Cap




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 26 Mar 2018 09:06:04 PM UTC  Name: Test2.m  Size: 340B   By:
davidselfors
Test2 calls fostertocauer.m.  Both variables passed OK in ML
<http://savannah.gnu.org/bugs/download.php?file_id=43690>
-------------------------------------------------------
Date: Mon 26 Mar 2018 09:06:04 PM UTC  Name: fostertocauer.m  Size: 1KiB   By:
davidselfors
Test2 calls fostertocauer.m.  Both variables passed OK in ML
<http://savannah.gnu.org/bugs/download.php?file_id=43691>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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