MATLAB in Physics - Data Analysis

The second lecture in a series on using MATLAB in undergraduate physics courses.

You are now following this Submission

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.

Cite As

Matt McDonnell (2026). MATLAB in Physics - Data Analysis (https://in.mathworks.com/matlabcentral/fileexchange/22931-matlab-in-physics-data-analysis), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Physics in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.1

Updated license

1.1.0.0

Updated copyright lines to from The MathWorks Ltd to The MathWorks, Inc.

1.0.0.0