does matlab version 2021a have forecast command !!!!

1 次查看(过去 30 天)
Kf = 200;
yf = forecast( [pos vel P] ,Xsaved,Kf);
I got that error
Error in forecast (line 2)

采纳的回答

Image Analyst
Image Analyst 2024-1-20
See the links at the right side of this page, for example
It looks like it's in the Econometric Toolbox. Type
>> ver
to see if you have that toolbox.

更多回答(1 个)

Walter Roberson
Walter Roberson 2024-1-20
It looks like you named your script forecast.m and you expect that script forecast.m to be able to call the forecast() function. That will not work. You need to rename your script to something else.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by