Weather prediction using old data from database
1 view (last 30 days)
Show older comments
Hello ,
i am trying forecast weather for one city. I got data from multiple cities and i want to do multilocal weather prediction.
Parameters in database i have: temperature ,humidity, pressure,wind speed,wind direction and clouds (number value +name).
How i imagine this: after running program multiple plots will show up. One for temperature,one for pressure ,etc. In plot will be old data and then predicted data different color. Basically all i want to do is predict future data from old data.
What i already did: I tried several examples from System Identification Toolbox. But i had some problems with iddata function or plot doesn't went like i wanted. I attach matlab file with my try of predict humidity. I was thinking about changing model for ARMAX or something like that.
This is what i get from my code i attach: ![Snímka.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196359/Sn%C3%ADmka.png)
![Snímka.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196359/Sn%C3%ADmka.png)
I will be very happy if you can lead me what functions or commands i should use for my problem and maybe explain it little bit for me. Thank you all
0 Comments
Answers (1)
Prof M S Prasad
on 15 Nov 2023
ARMAX is most suitable. also do trend analysis to get better results.
0 Comments
See Also
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!