help-octave
[Top][All Lists]
Advanced

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

control problem: lsim


From: Rudolf Widmer-Schnidrig
Subject: control problem: lsim
Date: Sun, 24 Feb 2013 23:17:00 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130216 Thunderbird/17.0.3

Dear Lukas, dear List,

What is the best way to evaluate the quality of a LTI model
which I have obtained like this

octave> dat = iddata(yout,xin);      % yout is observed output to input xin
octave> sys = arx (dat,'NA',2,'NB',1')

From the control manual I expected that I could run

octave> lsim(sys,xin)

to predict the output for input xin given the system sys.

but I get the error: lsim: input vector u must have 2 columns

what am  missing?

       many thanks in advance,             -Ruedi

--
+---------------------------------------------------------------+
              Rudolf Widmer-Schnidrig
              Black Forest Observatory (BFO)
              Heubach 206
      D-77709 Wolfach, Germany
              e-mail: address@hidden
              phone:  +49 7836 2151
              fax:  +49 7836 955240
              48d 19' 48.24" North  8d 19' 23.13" East

+---------------------------------------------------------------+



reply via email to

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