- Import the dataset to the MATLAB workspace into a variable called "trainingData".
- Inside a "for" loop, index the dataset to seperate the data of all the years. For example:
- You can then use the Regression Learner App to perform regression tasks on the seperated dataset. Refer to the link below regarding the usage of the App: https://www.mathworks.com/help/stats/regression-learner-app.html