# Matrix Methods of Linear Algebra

Version 1.1.0.0 (4.74 MB) by
Interactive courseware module that addresses fundamental matrix methods and linear systems taught in introductory linear algebra courses.
Updated 10 Nov 2023

# Matrix Methods of Linear Algebra

or

Curriculum Module

Created with R2020b. Compatible with R2020b and later releases.

# Information

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.

## Background

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 Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.

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

### 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 Add-Ons > Get Add-Ons.

## Products

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

# Scripts

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

## MatrixOperations.mlx

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
- Linear algebra
- Image processing

## LinearSystems.mlx

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
- Linear algebra

## LinearSystemsApplications.mlx

In this script, students will...
- Apply matrix methods to linear regression and linear circuit analysis
- Linear algebra
- Statistical analysis
- Circuit analysis

## Eigenanalysis.mlx

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
- Linear algebra

## EigenanalysisApplications.mlx

In this script, students will...
- Use eigenanalysis to understand vibrations and the long term behavior of a Markov chain
- Linear algebra
- Physical systems
- Statistical modeling

# Related Courseware Modules

## Vector Arithmetic

Available on: GitHub

## Applied Linear Algebra

Available on: GitHub

Or feel free to explore our other modular courseware content.

# Contribute

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 CONTRIBUTING.md page on GitHub.

### Cite As

Ryan Weinstein (2024). Matrix Methods of Linear Algebra (https://github.com/MathWorks-Teaching-Resources/Matrix-Methods-of-Linear-Algebra/releases/tag/v1.1.0), GitHub. Retrieved .

##### MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b and later releases
##### Platform Compatibility
Windows macOS Linux
##### Communities
More Files in the  Distance Learning Community

### Community Treasure Hunt

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

Start Hunting!

#### Scripts

Version Published Release Notes
1.1.0.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Matrix-Methods-of-Linear-Algebra/releases/tag/v1.1.0

1.0.5.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Matrix-Methods-of-Linear-Algebra/releases/tag/v1.0.5

1.0.4.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Matrix-Methods-of-Linear-Algebra/releases/tag/v1.0.4

1.0.3

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Matrix-Methods-of-Linear-Algebra/releases/tag/v1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Matrix-Methods-of-Linear-Algebra/releases/tag/v1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Matrix-Methods-of-Linear-Algebra/releases/tag/v1.0.1

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.