I use the temperature of 1 week, run the fitting on my data, and MATLAB gives a function which is fitted over the input data.
By printing the residuals you can see the error the function makes when being fitted on the input data.(If the error is high, you can change type of the function. I did all this, and the best function is 'SumofSin').
Then, I use this function to guess the temperature for the next 24 h.
---
The file includes temperature of 3 months in an excel format as well.
引用格式
Peyman (2024). Temperature forecasting (https://www.mathworks.com/matlabcentral/fileexchange/37880-temperature-forecasting), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 AI for Signals 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |