MATLAB Programming

by Dingy'u Xue

Published 23 March 2020
This book presents fundamentals in MATLAB programming, including data and statement structures, control structures, function writing and bugging in MATLAB programming, followed by the presentations of algebraic computation, transcendental function evaluations and data processing. Advanced topics such as MATLAB interfacing, object-oriented programming and graphical user interface design are also addressed.

This book focuses on solving practical problems in calculus with MATLAB. Descriptions and sketching of functions and sequences are introduced first, followed by the analytical solutions of limit, differentiation, integral and function approximation problems of univariate and multivariate functions. Advanced topics such as numerical differentiations and integrals, integral transforms as well as fractional calculus are also covered in the book.

This book focuses the solutions of linear algebra and matrix analysis problems, with the exclusive use of MATLAB. The topics include representations, fundamental analysis, transformations of matrices, matrix equation solutions as well as matrix functions. Attempts on matrix and linear algebra applications are also explored.


This book focuses the solutions of differential equations with MATLAB. Analytical solutions of differential equations are explored first, followed by the numerical solutions of different types of ordinary differential equations (ODEs), as well as the universal block diagram based schemes for ODEs. Boundary value ODEs, fractional-order ODEs and partial differential equations are also discussed.

This book focuses on solving optimization problems with MATLAB. Descriptions and solutions of nonlinear equations of any form are studied first. Focuses are made on the solutions of various types of optimization problems, including unconstrained and constrained optimizations, mixed integer, multiobjective and dynamic programming problems. Comparative studies and conclusions on intelligent global solvers are also provided.



The essential, intermediate and advanced topics of Simulink are covered in the book. The concept of multi-domain physical modeling concept and tools in Simulink are illustrated with examples for engineering systems and multimedia information. The combination of Simulink and numerical optimization methods provides new approaches for solving problems, where solutions are not known otherwise.