Matlab error: Incorrect specification for model order in the armax command
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Linear Model Identification dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!