Applications of MATLAB

This series covers the applications of MATLAB that come up most in engineering, science and finance work. Each tutorial takes one real task, explains the method in plain terms and walks through the code, so you finish with something you can adapt to your own data.

It starts with the foundations of applied work: writing a mathematical model and solving it, then the numerical methods behind root finding and integration. Next come regression and the plots that show results: 3D surfaces and lines, scatter plots and contour plots. Then the heavier methods: two-dimensional convolution, the finite element method, project scheduling with the critical path, particle swarm optimization and MATLAB for finance. The series ends with machine learning, classifying gene-expression samples and sounds.

The lessons assume you know the basics of MATLAB: scripts, vectors and loops. If you don’t yet, start with the MATLAB tutorials series and come back here when you reach its end.

The lessons, in order

  1. Mathematical Modeling in MATLABWrite a growth model as an equation, solve it with ode45 and fit it to real data.
  2. Numerical Analysis in MATLABFind roots and integrals numerically, and measure how accurate each method is.
  3. Linear Regression on MATLAB – A Comprehensive GuideFit a linear regression to data and judge how well the line explains it.
  4. Mastering 3D Plotting in MATLAB: A Comprehensive GuideDraw 3D surfaces and meshes so you can see how a function behaves.
  5. MATLAB plot3 FunctionPlot lines and paths in three dimensions with plot3.
  6. Mastering MATLAB Scatter Plots: A Comprehensive GuideMake scatter plots that compare variables, with color and size carrying extra data.
  7. How to Create a MATLAB Scatter Plot: A Step-by-Step GuideA quick, step-by-step scatter plot in MATLAB from data to labeled chart.
  8. Contour Plot Tutorial in Python and MATLABShow a surface as contour lines in MATLAB and Python, and read the result.
  9. MATLAB conv2 Function – Comprehensive GuideUse conv2 on real signals and images, from filters to edge detection.
  10. Finite Element Method in MATLAB – Comprehensive Guide and Complete CodeSolve a structural problem with the finite element method, using the complete code.
  11. Project Scheduling Optimization in MATLABFind a project's shortest length and the tasks that can't slip, with the critical path method.
  12. Particle Swarm Optimization in MATLAB and PythonSearch for the best answer with particle swarm optimization in MATLAB and Python.
  13. Harnessing MATLAB for FinanceApply MATLAB to financial data and calculations.
  14. Machine Learning for Computational Biology in MATLABClassify gene-expression samples with k-nearest neighbors and find the genes that matter.
  15. Machine Learning for Audio Classification in MATLABTurn sounds into features with the FFT and classify new sounds with a simple model.

Want to go further, one to one?

In Python AI mentoring we work on your own code: from these basics to an AI agent you have built and deployed yourself. Sessions start at $60 an hour, with a recording and notes after each one.