Lecture 4. Matlab Basics Getting started 2D-Plots

Slides:



Advertisements
Similar presentations
Adding & Subtracting Matrices
Advertisements

Example 1 Matrix Solution of Linear Systems Chapter 7.2 Use matrix row operations to solve the system of equations  2009 PBLPathways.
Solving Equations = 4x – 5(6x – 10) -132 = 4x – 30x = -26x = -26x 7 = x.
Technical Question Technical Question
EXAMPLE 2 Solve a matrix equation SOLUTION Begin by finding the inverse of A = Solve the matrix equation AX = B for the 2 × 2 matrix X. 2 –7 –1.
DETERMINANTS AND INVERSE MATRICES. I. Determinants of 2x2 A. Formula.
Section 8.3 – Systems of Linear Equations - Determinants Using Determinants to Solve Systems of Equations A determinant is a value that is obtained from.
7.1 SOLVING SYSTEMS BY GRAPHING The students will be able to: Identify solutions of linear equations in two variables. Solve systems of linear equations.
SOLVING SYSTEMS of EQUATIONS MATH REVIEW. Suppose… … you want to solve a set of two linear equations: y = 5z – 4 and y = -4z + 2. There are two methods.
COMP 116: Introduction to Scientific Programming Lecture 7: Matrices and Linear Systems.
4.5 Solving Systems using Matrix Equations and Inverses.
4.5 Solving Systems using Matrix Equations and Inverses OBJ: To solve systems of linear equations using inverse matrices & use systems of linear equations.
9.5 Multiplication with the Addition- or-Subtraction Method Purpose: To use multiplication on linear equations before you add or subtract. Homework: p.
We will use Gauss-Jordan elimination to determine the solution set of this linear system.
13.6 MATRIX SOLUTION OF A LINEAR SYSTEM.  Examine the matrix equation below.  How would you solve for X?  In order to solve this type of equation,
You can solve the following system of linear equations by graphing: x + 2y = 10 4x – y = -14 Point of intersection seems to be (-2, 6) What other systems.
Solving Systems Using Elimination
Chapter 21 Exact Differential Equation Chapter 2 Exact Differential Equation.
3.1 Systems of Linear Equations (Elimination – or as the book calls it, Addition Method)
Solving Systems of Equations: The Elimination Method Solving Systems of Equations: The Elimination Method Solving Systems of Equations: The Elimination.
Elimination Method: Solve the linear system. -8x + 3y=12 8x - 9y=12.
7.4. 5x + 2y = 16 5x + 2y = 16 3x – 4y = 20 3x – 4y = 20 In this linear system neither variable can be eliminated by adding the equations. In this linear.
Solving Linear Systems by Substitution
4.7 Solving Systems using Matrix Equations and Inverses
GUIDED PRACTICE for Example – – 2 12 – 4 – 6 A = Use a graphing calculator to find the inverse of the matrix A. Check the result by showing.
Warm up. Solving Systems Using Inverse Matrices Systems to Matrices A system of equations in standard form (Ax+By=C) can be written in matrix form [A][X]=[B]
Section 3.5 Solving Systems of Linear Equations in Two Variables by the Addition Method.
SOLVING SYSTEMS USING ELIMINATION 6-3. Solve the linear system using elimination. 5x – 6y = -32 3x + 6y = 48 (2, 7)
Multiply one equation, then add
Multi Step Equations. Algebra Examples 3/8 – 1/4x = 1/2x – 3/4 3/8 – 1/4x = 1/2x – 3/4 8(3/8 – 1/4x) = 8(1/2x – 3/4) (Multiply both sides by 8) 8(3/8.
Chapter 8 Systems of Linear Equations in Two Variables Section 8.3.
5 minutes Warm-Up Solve. 2) 1).
Solve Linear Systems by Elimination February 3, 2014 Pages
3.8B Solving Systems using Matrix Equations and Inverses.
Solving 2 step equations. Two step equations have addition or subtraction and multiply or divide 3x + 1 = 10 3x + 1 = 10 4y + 2 = 10 4y + 2 = 10 2b +
1.6 Solving Linear Systems in Three Variables 10/23/12.
WARM-UP. SYSTEMS OF EQUATIONS: ELIMINATION 1)Rewrite each equation in standard form, eliminating fraction coefficients. 2)If necessary, multiply one.
Elimination Method - Systems. Elimination Method  With the elimination method, you create like terms that add to zero.
Use the elimination method
Warm Up Find the solution to linear system using the substitution method. 1) 2x = 82) x = 3y - 11 x + y = 2 2x – 5y = 33 x + y = 2 2x – 5y = 33.
Lesson 9.6 Topic/ Objective: To solve non linear systems of equations. EQ: How do you find the point of intersection between two equations when one is.
Rewrite a linear equation
Solve Linear Systems By Multiplying First
Example: Solve the equation. Multiply both sides by 5. Simplify both sides. Add –3y to both sides. Simplify both sides. Add –30 to both sides. Simplify.
Solving Systems of Linear Equations in 3 Variables.
F-IF.C.7a: Graphing a Line using Slope-Intercept, Part 2
Warm-Up BC 3. |A|.
Notes Over 9.6 An Equation with One Solution
3.2 Solve Linear Systems Algebraically
Use a linear model to make a prediction.
Objectives Graph a line and write a linear equation using point-slope form. Write a linear equation given two points.
Solving Linear Systems by Linear Combinations
Solve a system of linear equation in two variables
6-3 Solving Systems Using Elimination
Solve System by Linear Combination / Addition Method
Solutions to Systems of Equations
Solving Systems Check Point Quiz Corrections
Solve Linear Equations by Elimination
Linear Algebra Lecture 3.
ARRAY DIVISION Identity matrix Islamic University of Gaza
5.1 Solving Systems of Equations by Graphing
Solving Systems of Linear Equations in 3 Variables.
Systems of Equations Solve by Graphing.
Solve the linear system.
Example 2B: Solving Linear Systems by Elimination
1.11 Use Inverse Matrices to Solve Linear Systems
Solving Two Step Algebraic Equations
Solving a System of Linear Equations
3(9z + 4) > 35z – 4 Original problem. Solve each inequality. Then graph the solution set on the number line. 3(9z + 4) > 35z – 4 Original problem.
Multiply by 5/40 and sum with 2nd row
Presentation transcript:

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

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

Getting Started Tutorials and demos can be found at http://www.mathworks.com/products/matlab/demos.html?show=demo 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) 

2D Plots Tutorials and demos for 2D plots can be found at http://www.mathworks.com/products/matlab/demos.html?file=/products/demos/shipping/matlab/graf2d.html

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

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

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

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

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

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