MATLAB in Physics is a four lecture series in MATLAB that is offered to first year physics undergraduate students.
This lecture shows how to use MATLAB to fit experimental data such as that obtained in undergraduate physics experiments. Non-linear fitting to a more complicated model function is also demonstrated.
Edric Ellis delivered this lecture and added clarifications to Matt's example code, together with extra examples.
The aim of this lecture series is to introduce students to computational methods in MATLAB to solve problems arising in physics that cannot be solved analytically. No prior knowledge of MATLAB is required. Themes of data analysis, visualization, modelling and programming are explored throughout these lectures.
Matt McDonnell (2020). MATLAB in Physics - Data Analysis (https://www.mathworks.com/matlabcentral/fileexchange/22931-matlab-in-physics-data-analysis), MATLAB Central File Exchange. Retrieved .
Updated copyright lines to from The MathWorks Ltd to The MathWorks, Inc.
Inspired by: MATLAB in Physics - Visualisation