Temperature forecasting
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.
Cite As
Peyman (2024). Temperature forecasting (https://www.mathworks.com/matlabcentral/fileexchange/37880-temperature-forecasting), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |