MatlabTutorialANDLinearAlgebraReview

MatlabTutorialANDLinearAlgebraReview - Announcements Class...

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

View Full Document Right Arrow Icon
Announcements Class mailing list: send email to Hyoungjune Yi: aster@cs.umd.edu Homework at the end of class. Text is on reserve in the CS library. Powerpoint should be available by 10am class day.
Background image of page 1

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

View Full DocumentRight Arrow Icon
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.
Background image of page 2
Starting Matlab For PCs, Matlab should be a program. For Sun’s: Numerical Analysis and Visualization Matlab 6.1
Background image of page 3

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

View Full DocumentRight Arrow Icon
Help help help command Eg., help plus Help on toolbar demo Tutorial: http://amath.colorado.edu/scico/tutorials /matlab/
Background image of page 4
Matlab interpreter Many common functions: see help ops
Background image of page 5

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

View Full DocumentRight Arrow Icon
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 = = = =
Background image of page 6
Indexing into vectors
Background image of page 7

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

View Full DocumentRight Arrow Icon
Vector Addition ) , ( ) , ( ) , ( 2 2 1 1 2 1 2 1 y x y x y y x x + + = + = + w v V+w
Background image of page 8
Scalar Product ) , ( ) , ( 2 1 2 1 ax ax x x a a = = v v av
Background image of page 9

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

View Full DocumentRight Arrow Icon
Operations on vectors sum max, min, mean, sort, … Pointwise: .^
Background image of page 10
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!
Background image of page 11

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

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

Page1 / 35

MatlabTutorialANDLinearAlgebraReview - Announcements Class...

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

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