Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture 4. Matlab Basics Getting started 2D-Plots

Similar presentations


Presentation on theme: "Lecture 4. Matlab Basics Getting started 2D-Plots"— Presentation transcript:

1 Lecture 4. Matlab Basics Getting started 2D-Plots
Dr. Holbert F06-Lect1 Lecture 4. Matlab Basics Getting started 2D-Plots Matrix & Linear Equations EEE 202

2 Getting Started Matlab program can be found at: apps.asu.edu.

3 Getting Started Tutorials and demos can be found at Getting Started with MATLAB (4 min 58 sec)  Working in The Development Environment (4 min 13 sec)  Writing a MATLAB Program (5 min 36 sec) 

4 2D Plots Tutorials and demos for 2D plots can be found at

5 Matrix and Linear Equations
Linear Equations (n-variables and m-equations) ….. Matrix representation Ax=b

6 Matrix and Linear Equations
Ax=b Matrix representation: x=A-1b Solution: Matlab representation x=b/A

7 Matrix and Linear Equations
An example Solve the problem with Matlab Step 1 >> A=[-2 1 3;1 1 0; ] Step 2 >> b=[0;1.5;0] Step 3 >> i=b/A

8 Matrix and Linear Equations
What if Solve the problem with Matlab Step 1 >> A=[-2 1 3;1 1 0; ] Step 2 >> b=[0;1.5;0] Step 3 >> i=b/A Step 3 Multiply the results by is

9 Matrix and Linear Equations
What if the same BUT Using the superposition principle!

10 Matrix and Linear Equations
Re-write the equation as and Solve one at a time and add the results according to


Download ppt "Lecture 4. Matlab Basics Getting started 2D-Plots"

Similar presentations


Ads by Google