Matlab error: Incorrect specification for model order in the armax command
Show older comments
I am trying to build an ARMAX model using matlab's system identification toolbox. The relevant part of my code is shown below;
"input = [Tpht CFMbyp chw];
output = Tsup;
tdata = iddata(output,input,60);
sys = armax(tdata, [30 30 30 1]); "
input is a 29566x3 matrix and output is a 29566x1 vector. Using these, I created iddata with 60 seconds sample interval. That was all okay until this point. Now, when I try to build the model of order 30, I encountered an error saying;
" Error using armax (line 89) Incorrect specification for model order in the "armax(DATA, ORDERS,...)" command. Specify ORDERS as an integer matrix of the form [na nb nc nk], or [na nc] if there are no inputs. Type "help armax" for more information.. "
I did not understand the error and I do not know how to correct it. If you could help me on this, I would really appreciate it.
Thank you, Irem
Accepted Answer
More Answers (0)
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!