Toolbox - Control - ARX - troubles

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
mjb
Reply | Threaded
Open this post in threaded view
|

Toolbox - Control - ARX - troubles

mjb
Hi Everybody,
I try to use arx function but got error: arx: keys and values must come in
pairs.
Part of my code is below:
***
z=[y',u'];
NN=[2 1 3];
dat=iddata(y',u',1);
TH=arx(dat,NN);
***
Where to look for the cause?
Many thanks in advance.
MJB



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: Toolbox - Control - ARX - troubles

Doug Stewart-4


On Sat, May 19, 2018 at 5:39 PM, mjb <[hidden email]> wrote:
Hi Everybody,
I try to use arx function but got error: arx: keys and values must come in
pairs.
Part of my code is below:
***
z=[y',u'];
NN=[2 1 3];
dat=iddata(y',u',1);
TH=arx(dat,NN);
***
Where to look for the cause?
Many thanks in advance.
MJB






n

The desired order of the resulting model sys.




your NN should be just 1 number.

--
DASCertificate for 206392



mjb
Reply | Threaded
Open this post in threaded view
|

Re: Toolbox - Control - ARX - troubles

mjb
Doug,
many thanx, works great.
Mariusz



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html