From the course: MATLAB 2018 Essential Training

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Solve systems of linear equations using matrix functions

Solve systems of linear equations using matrix functions - MATLAB Tutorial

From the course: MATLAB 2018 Essential Training

Start my 1-month free trial

Solve systems of linear equations using matrix functions

- [Instructor] One of the most useful applications for MATLAB is to solve systems of linear equations. You know, those problems where you're given a series of equations and are asked to find the input values that solve all of them simultaneously. In this movie I will save you a lot of work and show you how to solve those systems of equations using MATLAB. I'll start in PowerPoint and then switch over to MATLAB itself. So once again, you can solve systems of linear equations through substitutions or by letting MATLAB do it for you. So let's say you have the following system of equations. X plus three y minus two z equals five, three x plus five y plus six z equals seven, and two x plus four y plus three z equals eight, and your job is to find the values that solve those three equations simultaneously substituting in x, y, and z. The great thing about working in MATLAB is that there is a method using matrix algebra that allows you to find the result. So what you need to do is to…

Contents