does matlab version 2021a have forecast command !!!!
显示 更早的评论
Kf = 200;
yf = forecast( [pos vel P] ,Xsaved,Kf);
I got that error
Error in forecast (line 2)
采纳的回答
更多回答(1 个)
Walter Roberson
2024-1-20
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Financial Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!