See the assignment on MATLAB Grader.
14.14. Least Squares Regression Homework
14.16. System of Linear ODEs Homework