help-octave
[Top][All Lists]
Advanced

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

Re: control problem: lsim


From: Doug Stewart
Subject: Re: control problem: lsim
Date: Sun, 24 Feb 2013 20:00:30 -0500




On Sun, Feb 24, 2013 at 5:17 PM, Rudolf Widmer-Schnidrig <address@hidden> wrote:
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@hiddende
              phone:  +49 7836 2151
              fax:  +49 7836 955240
              48d 19' 48.24" North  8d 19' 23.13" East

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

_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
this is just guess

does sys have two inputs??? if it does then you would need an input vector for each input


--
DAS

https://linuxcounter.net/user/206392.html

reply via email to

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