Matlab AR command for creating the model of predicting kstep ahead prediction

5 Ansichten (letzte 30 Tage)
I want to use AR model as a predictor, and for that matlab AR function is used.But there is problem, this function only has the ability to create model for predicting one step ahead directly and for other steps it predicts recursively. If I can use my own pairs of input and output and use the AR it will be solved,but it is not possible for AR function in matlab, because it is capable to have only the time series as an input. IS there any way for solving this problem? Thanks in advance for your suggestions.

Akzeptierte Antwort

Shashank Prasanna
Shashank Prasanna am 16 Jul. 2014
Maybe you are looking for ARX (autoregressive with exogenous inputs). You can fit an ARX model using either the Econometrics or the System Id Toolbox:
  5 Kommentare
lily
lily am 20 Jul. 2014
You are right. My problem has been solved. Thanks a lot for your help.
Elias Pergantis
Elias Pergantis am 14 Nov. 2023
What was the solution for this? Can you provide some code?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by