1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 3 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH, 45701.

Slides:



Advertisements
Similar presentations
Numerical Solution of Linear Equations
Advertisements

Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
Modified Newton Methods Lecture 9 Alessandra Nardi Thanks to Prof. Jacob White, Jaime Peraire, Michal Rewienski, and Karen Veroy.
Linear Systems LU Factorization CSE 541 Roger Crawfis.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
MATH 685/ CSI 700/ OR 682 Lecture Notes
Linear Systems of Equations
Solving Linear Systems (Numerical Recipes, Chap 2)
SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
CISE301_Topic3KFUPM1 SE301: Numerical Methods Topic 3: Solution of Systems of Linear Equations Lectures 12-17: KFUPM Read Chapter 9 of the textbook.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 13 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Iterative Methods and QR Factorization Lecture 5 Alessandra Nardi Thanks to Prof. Jacob White, Suvranu De, Deepak Ramaswamy, Michal Rewienski, and Karen.
Solution of linear system of equations
Chapter 9 Gauss Elimination The Islamic University of Gaza
1cs542g-term Notes  Assignment 1 will be out later today (look on the web)
1cs542g-term Notes  Assignment 1 is out (questions?)
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 5 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
QR Factorization –Direct Method to solve linear systems Problems that generate Singular matrices –Modified Gram-Schmidt Algorithm –QR Pivoting Matrix must.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 13 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 11 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 7 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 17 Solution of Systems of Equations.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 6 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 5 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 4 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Thomas algorithm to solve tridiagonal matrices
ECE 552 Numerical Circuit Analysis
Mujahed AlDhaifallah (Term 342) Read Chapter 9 of the textbook
EE EE 616 Computer Aided Analysis of Electronic Networks Lecture 2 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens,
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 18 LU Decomposition and Matrix Inversion.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 10 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 14 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Table of Contents Solving Systems of Linear Equations - Gaussian Elimination The method of solving a linear system of equations by Gaussian Elimination.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Scientific Computing Linear Systems – LU Factorization.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Using LU Decomposition to Optimize the modconcen.m Routine Matt Tornowske April 1, 2002.
MATH 250 Linear Equations and Matrices
Chapter 3 Solution of Algebraic Equations 1 ChE 401: Computational Techniques for Chemical Engineers Fall 2009/2010 DRAFT SLIDES.
CSE 245: Computer Aided Circuit Simulation and Verification Instructor: Prof. Chung-Kuan Cheng Winter 2003 Lecture 1: Formulation.
EE616 Dr. Janusz Starzyk Computer Aided Analysis of Electronic Circuits Innovations in numerical techniques had profound import on CAD: –Sparse matrix.
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 21.
Lecture 8 Matrix Inverse and LU Decomposition
EE EE 616 Computer Aided Analysis of Electronic Networks Lecture 2 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens,
Direct Methods for Linear Systems Lecture 3 Alessandra Nardi Thanks to Prof. Jacob White, Suvranu De, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Chapter 9 Gauss Elimination The Islamic University of Gaza
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
1 Chapter 7 Numerical Methods for the Solution of Systems of Equations.
3/1/ LU Decomposition Computer Engineering Majors Authors: Autar Kaw Transforming.
Gaoal of Chapter 2 To develop direct or iterative methods to solve linear systems Useful Words upper/lower triangular; back/forward substitution; coefficient;
Unit #1 Linear Systems Fall Dr. Jehad Al Dallal.
Autar Kaw Benjamin Rigsby Transforming Numerical Methods Education for STEM Undergraduates.
Lecture 9 Numerical Analysis. Solution of Linear System of Equations Chapter 3.
1 Numerical Methods Solution of Systems of Linear Equations.
LU Decomposition ● In Gauss elimination; Forward elimination Backward substitution Major computational effort Low computational effort can be used for.
Simultaneous Linear Equations
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.
Spring Dr. Jehad Al Dallal
Linear Equations.
Numerical Analysis Lecture 45.
Numerical Computation and Optimization
Numerical Analysis Lecture10.
Major: All Engineering Majors Authors: Autar Kaw
Lecture 8 Matrix Inverse and LU Decomposition
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
Ax = b Methods for Solution of the System of Equations:
Ax = b Methods for Solution of the System of Equations (ReCap):
Presentation transcript:

1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 3 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH, /12/2007

2 Review and Outline Review of the previous lecture * Network scaling * Thevenin/Norton Analysis * KCL, KVL, branch equations * Sparse Tableau Analysis (STA) * Nodal analysis * Modified nodal analysis Outline of this lecture * Network Equations and Their Solution -- Gaussian elimination -- LU decomposition(Doolittle and Crout algorithm) -- Pivoting -- Detecting ILL Conditioning

3 A is n x n real non-singular X is nx1; B is nx1; Problems: Direct methods: find the exact solution in a finite number of steps -- Gaussian elimination, LU decomposition, Crout, Doolittle) Iterative methods: produce a sequence of approximate solutions hopefully converging to the exact solution -- Gauss-Jacobi, Gauss-Seidel, Successive Over Relaxation (SOR)

4 Gaussian Elimination Basics Reminder by 3x3 example

5 Gaussian Elimination Basics – Key idea Use Eqn 1 to Eliminate x 1 from Eqn 2 and 3 Multiply equation (*) by –M21 and add to eq (2) Eq.1 divided by M11 (*) Multiply equation (*) by –M31 and add to eq (3)

6 GE Basics – Key idea in the matrix Pivot

7 GE Basics – Key idea in the matrix Continue this step to remove x2 from eqn 3

8 GE Basics – Simplify the notation Remove x1 from eqn 2 and eqn 3

9 GE Basics – Simplify the notation Remove x2 from eqn 3

10 GE Basics – GE yields triangular system Altered During GE ~ ~

11 GE Basics – Backward substitution

12 GE Basics – RHS updates

13 GE basics: summary (1) M x = b U x = yEquivalent system U: upper triangle (2)Noticed that: Ly = bL: unit lower triangle (3) U x = y LU x = b  M x = b GE  Efficient way of implementing GE: LU factorization

14 Solve M x = b Step 1 Step 2 Forward Elimination Solve L y = b Step 3 Backward Substitution Solve U x = y = M = L U Gaussian Elimination Basics Note: Changing RHS does not imply to recompute LU factorization

15 LU decomposition

16 LU decomposition

17 LU decomposition – Doolittle example

18 LU factorization (Crout algorithm)

19 LU factorization (Crout algorithm)

20 Properties of LU factorization Now, let’s see an example:

21 LU decomposition - example

22 Relation between STA and NA

23 Pivoting for Accuracy: Example 1: After two steps of G.E. MNA matrix becomes:

24 Pivoting for Accuracy:

25 Pivoting for Accuracy:

26 Pivoting for Accuracy:

27 Pivoting Strategies

28 Error Mechanism

29 Detecting ILL Conditioning

30 Detecting ILL Conditioning