Matrix Methods of Linear Algebra

Interactive courseware module that addresses fundamental matrix methods and linear systems taught in introductory linear algebra courses.
ダウンロード: 560
更新 2023/11/10

Matrix Methods of Linear Algebra

View on File Exchange or Open in MATLAB Online

MATLAB Versions Tested

Curriculum Module

Created with R2020b. Compatible with R2020b and later releases.


This curriculum module contains interactive MATLAB® live scripts that teach fundamental matrix methods commonly taught in introductory linear algebra courses. In the first part of each live script, students learn standard definitions, visualize concepts, and perform exercises on paper. Afterward, students practice complementary MATLAB® methods. These methods reinforce the discussed concepts and help students to develop an early familiarity with computational software. Each lesson concludes with an illustrative application.


You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. This module covers topics such as matrix operations, linear systems, determinants, eigenvalues and eigenvectors, and diagonalization. It also includes examples of using matrix methods to modify grayscale images, analyze linear circuits, understanding vibrations, and Markov chains.

The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the image_0.png Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.

Contact Us

Solutions are available upon instructor request. Contact the MathWorks teaching resources team if you would like to request solutions, provide feedback, or if you have a question.

Getting Started

Accessing the Module

On MATLAB Online:

Use the image_1.png link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.

On Desktop:

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on MatrixMethods.prj. It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.

Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select image_2.png Add-Ons > Get Add-Ons.


MATLAB® is used throughout. Tools from Symbolic Math Toolbox™, Statistics and Machine Learning Toolbox™, and Image Processing Toolbox™ are used as well.


If you are viewing this in a version of MATLAB prior to R2023b, you can view the learning outcomes for each script here

image_3.png In this script, students will...
- Define matrices and their basic arithmetic operations
- Calculate the result of matrix operations on paper and in MATLAB
- Explain the size requirements of matrix operations
- Compare symbolic and numeric matrix operations in MATLAB
- Apply matrix methods to modify grayscale images
Academic disciplines
- Linear algebra
- Image processing
image_4.png In this script, students will...
- Write a linear system in matrix form
- Relate solutions of linear systems in 3-dimensions to their visualizations
- Solve systems of linear equations using row-reduction and matrix inverses
- Explain the solvability of a linear system in terms of the matrix determinant
- Use MATLAB to solve linear systems
Academic disciplines
- Linear algebra
image_5.png In this script, students will...
- Apply matrix methods to linear regression and linear circuit analysis
Academic disciplines
- Linear algebra
- Statistical analysis
- Circuit analysis
image_6.png In this script, students will...
- Visualize eigenvectors in 2-dimensions
- Solve for the eigenvalues and eigenvectors of a 2x2 matrix on paper and larger matrices using MATLAB
- Diagonalize 2x2 matrices on paper and larger matrices in MATLAB
- Explain linear system solvability in terms of eigenvalues
- Discuss defective matrices
Academic disciplines
- Linear algebra
image_7.png In this script, students will...
- Use eigenanalysis to understand vibrations and the long term behavior of a Markov chain
Academic disciplines
- Linear algebra
- Physical systems
- Statistical modeling

Related Courseware Modules

image_8.png Available on:image_9.png image_10.pngGitHub

image_11.png Available on:image_12.png image_13.pngGitHub

Or feel free to explore our other modular courseware content.

Educator Resources


Looking for more? Find an issue? Have a suggestion? Please contact the MathWorks teaching resources team. If you want to contribute directly to this project, you can find information about how to do so in the page on GitHub.

© Copyright 2023 The MathWorks™, Inc


Ryan Weinstein (2024). Matrix Methods of Linear Algebra (, GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2020b
R2020b 以降のリリースと互換性あり
Windows macOS Linux
 Distance Learning コミュニティのその他のファイル

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。