Lecture_03_Matrix_Math___Gauss_Eliminati

Lecture_03_Matrix_Math___Gauss_Eliminati - EGR 102...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
EGR 102 Lecture 3 1 EGR 102 Introduction to Engineering Modeling Matrix Math Chapter 8.1 Gauss Elimination Chapter 9.1.1, 9.1.3, 9.2 & 9.3 Figures from: “Applied Numerical Methods with MATLAB,” Steven Chapra, McGraw Hill EGR 102 Lecture 3 2 MATLAB: Matrix Laboratory Images, movies, sound and variables all are matrices in MATLAB Sound: load chirp sound(y) Image: load clown image(X), colormap(map) Animations (movies): z = peaks; surf(z); axis tight set(gca,'nextplot','replacechildren'); for j = 1:20 surf(sin(2*pi*j/20)*z,z) f(j) = getframe; end movie(f,50)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
EGR 102 Lecture 3 3 MATLAB ± MATLAB is both a software tool and a MATLAB is both a software tool and a computer language. ± A variety of numerical functions, symbolic computations, and visualization tools have been added to the matrix manipulations. ± Other languages & libraries include: ± FORTRAN (IMSL), C++, FORTRAN (IMSL), C++, EGR 102 Lecture 3 4 Numerical Methods … • Solving a system of algebraic equations / inverting matrices • Finding roots of equations • Solving matrices (linear algebra) • Regression / Curve-fitting • Numerical Integration • Solving ODE’s (Ordinary Differential Equations) • More advanced topics ( e.g., solving PDEs) …
Background image of page 2
EGR 102 Lecture 3 5 Finite Element Analysis Millions of simultaneous equations EGR 102 Lecture 3 6 Matrix Math Review ± Matrices used to: ± Describe linear equations ± Track coefficients of linear transformations ± Record data that depend on multiple parameters ± Matrices can be added, multiplied, and decomposed in various ways
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
EGR 102 Lecture 3 7 Matrix Math Review ± The horizontal lines in a matrix are called rows ± The vertical lines are called columns . ± A matrix with m rows & n columns is called an -by- matrix ± and are called its dimensions . ± The dimensions of a matrix are always given with the number of rows first, then the number of columns. It is commonly said that an -by- matrix has an order (size) of × . = 12 11 10 9 8 7 6 5 4 3 2 1 A EGR 102 Lecture 3 8 Matrix Math Review ± Almost always capital letters denote matrices with the corresponding lower-case letters with two indices representing the entries. ± For example, the entry of a matrix A that lies in the i -th row and the j -th column is written as a i,j and called the entry or (i,j) -th entry of A . ± Alternative notations for that entry are A [ ] or A . The row is always noted first, then the column. = 12 11 10 9 8 7 6 5 4 3 2 1 A a 2,3 = ?
Background image of page 4
EGR 102 Lecture 3 9 Vectors ± A matrix where one of the dimensions equals 1 is often called a vector ± An m × 1 matrix (1 column & rows) is called a column vector ± A 1 × n matrix (1 row & columns) is called a row vector { } 4 3 2 1 = A EGR 102 Lecture 3 10 Special Matrices Matrices where = are called square matrices .
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/23/2011 for the course EGR 102 taught by Professor Hinds during the Spring '09 term at Michigan State University.

Page1 / 19

Lecture_03_Matrix_Math___Gauss_Eliminati - EGR 102...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online