Welcome to MATLAB Programming for Engineers. This site provides MATLAB tutorials, worked examples, and practice problems focused on engineering computation, data analysis, and numerical methods.
You will learn how to write clear MATLAB scripts and functions, use control flow (conditional statements and loops), work with engineering data, and solve common numerical problems such as regression, interpolation, linear systems, numerical integration, numerical differentiation, and ordinary differential equations. You will also see practical workflows for simulation and basic parallel computing.
You will find files of the lecture slides and Mathematica code in the Box Folder and embedded slides and videos for each section in the “Course Content” tab.
Joseph M. Mahoney, Ph.D.
Chair of Engineering and Associate Professor of Mechanical Engineering, Alvernia University (Reading, PA)
https://sites.google.com/view/jmmahoney
https://www.linkedin.com/in/jmm694
https://www.youtube.com/@drjmm84
The content is organized into four main modules. Each module comprises several sections, each with its own learning goals, slides, videos, and practice problems.
Start with the MATLAB environment, core syntax, arrays, plotting, scripts, and custom functions. Build comfort with MATLAB as an engineering calculator and programming tool.
Write readable programs using logical comparison, conditional statements, and loops. Develop habits that scale from short scripts to larger engineering workflows.
Import and export data, perform regression, and use statistics, random numbers, and simulation. Learn interpolation for engineering tables and experimental data.
Solve simultaneous equations and linear systems, apply numerical calculus (integration and differentiation), and simulate ordinary differential equations. Explore advanced data types and parallel computing workflows.
This site shares MATLAB programming materials for engineering students, educators, and self-learners. Educators are welcome to adapt ideas for their own courses. Please respect copyright and fair use. If you would like to reuse substantial portions of these materials in your own teaching or publications, please contact the instructor to discuss appropriate attribution and permissions.
1. Attaway, D. C. MATLAB: A Practical Introduction to Programming and Problem Solving, 5th ed. Elsevier. ISBN: 9780128154793.
2. Moore, H. MATLAB for Engineers, 6th ed. Pearson Education. ISBN: 9780137627981.