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