MatlabTutorialANDLinearAlgebraReview

# MatlabTutorialANDLinearAlgebraReview - Announcements Class...

This preview shows pages 1–12. Sign up to view the full content.

Announcements Class mailing list: send email to Hyoungjune Yi: [email protected] Homework at the end of class. Text is on reserve in the CS library. Powerpoint should be available by 10am class day.

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

View Full Document
Matlab tutorial and Linear Algebra Review Today’s goals: Learn enough matlab to get started. Review some basics of Linear Algebra Essential for geometry of points and lines. But also, all math is linear algebra. (ok slight exaggeration). Many slides today adapted from Octavia Camps, Penn State.
Starting Matlab For PCs, Matlab should be a program. For Sun’s: Numerical Analysis and Visualization Matlab 6.1

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

View Full Document
Help help help command Eg., help plus Help on toolbar demo Tutorial: http://amath.colorado.edu/scico/tutorials /matlab/
Matlab interpreter Many common functions: see help ops

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

View Full Document
Vectors Ordered set of numbers: (1,2,3,4) Example: ( x,y,z ) coordinates of pt in space. r unit vecto a is , 1 If ) , ( 1 2 , , 2 1 v v x v x x x v n i i n = = = =
Indexing into vectors

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

View Full Document
Vector Addition ) , ( ) , ( ) , ( 2 2 1 1 2 1 2 1 y x y x y y x x + + = + = + w v V+w
Scalar Product ) , ( ) , ( 2 1 2 1 ax ax x x a a = = v v av

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

View Full Document
Operations on vectors sum max, min, mean, sort, … Pointwise: .^
Inner (dot) Product v w α α 2 2 1 1 2 1 2 1 . ) , ).( , ( . y x y x y y x x w v + = = The inner product is a The inner product is a SCALAR!

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 35

MatlabTutorialANDLinearAlgebraReview - Announcements Class...

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

View Full Document
Ask a homework question - tutors are online