Clear Filters
Clear Filters

Weather prediction using old data from database

1 view (last 30 days)
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
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

Answers (1)

Prof M S Prasad
Prof M S Prasad on 15 Nov 2023
ARMAX is most suitable. also do trend analysis to get better results.

Categories

Find more on Linear Model Identification in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!