Expected a string scalar or character vector for the parameter name
显示 更早的评论
When I try to run code for "Forecast Multiplicative ARIMA Model" example (https://es.mathworks.com/help/econ/forecast-airline-passenger-counts.html) I get the message "expected a string scalar or character vector for the parameter name".
This part works fine:
load(fullfile(matlabroot,'examples','econ','Data_Airline.mat'))
y = log(Data);
T = length(y);
Mdl = arima('Constant',0,'D',1,'Seasonality',12,...
'MALags',1,'SMALags',12);
EstMdl = estimate(Mdl,y);
but when I try:
[yF,yMSE] = forecast(EstMdl,60,y);
then i get above mentioned message.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 System Identification Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!