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

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

[Octave-bug-tracker] [bug #41716] control package: internal error from s


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #41716] control package: internal error from slicot function
Date: Thu, 27 Feb 2014 05:45:24 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9

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

                 Summary: control package: internal error from slicot function
                 Project: GNU Octave
            Submitted by: jwe
            Submitted on: Thu 27 Feb 2014 05:45:22 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: jwe
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Any

    _______________________________________________________

Details:

The following code


y = zeros(1,25);
u = ones(1,25);
tsam = 0.1;
data = iddata(y,u,tsam);
n4sid(data,1);


results in the error


 ** On entry to IB01AD parameter number  7 had an illegal value 


Although iddata also produces the warnings

+vebatim+
warning: iddata: more outputs than samples - matrice 'y' should probably be
transposed
warning: iddata: more inputs than samples - matrice 'u' should probably be
transposed


I think that it would be better for n4sid to detect the situation and give a
meaningful error message instead of calling IB01AD with an invalid input.

I'm using Octave 3.6.4 and octave-control 2.6.2-1 on a Debian system, but I
don't see any changes in the current control package sources that look like
they fix this problem.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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