X is a matrix of size 4 x 2 (4 rows by 2 columns).

Slides:



Advertisements
Similar presentations
Linear Transformations and Matrices Jim Van Verth Lars M. Bishop
Advertisements

Lecture 4.
1 3D Vector & Matrix Chapter 2. 2 Vector Definition: Vector is a line segment that has the direction. The length of the line segment is called the magnitude.
Arbitrary Rotations in 3D Lecture 18 Wed, Oct 8, 2003.
Maths for Computer Graphics
CIS 101: Computer Programming and Problem Solving Lecture 2 Usman Roshan Department of Computer Science NJIT.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Lecture # 9 Matrix Representation of Symmetry Groups
1 Neural Nets Applications Vectors and Matrices. 2/27 Outline 1. Definition of Vectors 2. Operations on Vectors 3. Linear Dependence of Vectors 4. Definition.
Part 3 Chapter 8 Linear Algebraic Equations and Matrices PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The.
Vectors and Matrices Class 17.1 E: Ch. 5.
Matrices MSU CSE 260.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Basics of Linear Algebra A review?. Matrix  Mathematical term essentially corresponding to an array  An arrangement of numbers into rows and columns.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices n New stuff Homogenous co-ordinates 3D transformations as matrices.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 2.1: Recap on Linear Algebra Daniel Cremers Technische Universität.
Vectors Jeff Chastine.
Chapter 4.1 Mathematical Concepts
1 Math Review Coordinate systems 2-D, 3-D Vectors Matrices Matrix operations.
Lesson 11-1 Matrix Basics and Augmented Matrices Objective: To learn to solve systems of linear equation using matrices.
Transformation a change of position, shape or size of a figure Three types of transformation A slide called a translation A flip, called a reflection The.
1 Week 3: Vectors and Matrices (Part III) READING: 2.2 – 2.4 EECS Introduction to Computing for the Physical Sciences.
Spatial Descriptions and Transformations Sebastian van Delden USC Upstate
Matrices Matrices A matrix (say MAY-trix) is a rectan- gular array of objects (usually numbers). An m  n (“m by n”) matrix has exactly m horizontal.
2009/9 1 Matrices(§3.8)  A matrix is a rectangular array of objects (usually numbers).  An m  n (“m by n”) matrix has exactly m horizontal rows, and.
The goal is to give an introduction to the mathematical operations with matrices. A matrix is a 2-dimensional arrangement of (real valued) data. The data.
Module #9: Matrices Rosen 5 th ed., §2.7 Now we are moving on to matrices, section 7.
What is Kinematics. Kinematics studies the motion of bodies.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Introduction to MATLAB 7 for Engineers William J. Palm.
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
Solve a system of linear equations By reducing a matrix Pamela Leutwyler.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
Updated 21 April2008 Linear Programs with Totally Unimodular Matrices.
A rule that combines two vectors to produce a scalar.
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
INTRODUCTION TO MATLAB DAVID COOPER SUMMER Course Layout SundayMondayTuesdayWednesdayThursdayFridaySaturday 67 Intro 89 Scripts 1011 Work
KEY THEOREMS KEY IDEASKEY ALGORITHMS LINKED TO EXAMPLES next.
Sec 4.1 Matrices.
Digital Image Processing. Converting between Data Classes The general syntax is B = data_class_name (A) Where data_class_name is one of the names defined.
Composite 3D Transformations. Example of Composite 3D Transformations Try to transform the line segments P 1 P 2 and P 1 P 3 from their start position.
Matrix Multiplication The Introduction. Look at the matrix sizes.
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Table of Contents Matrices - Definition and Notation A matrix is a rectangular array of numbers. Consider the following matrix: Matrix B has 3 rows and.
= the matrix for T relative to the standard basis is a basis for R 2. B is the matrix for T relative to To find B, complete:
Jacobian Implementation Ryan Keedy 5 / 23 / 2012.
An Introduction to Robot Kinematics Renata Melamud.
Precalculus Section 14.1 Add and subtract matrices Often a set of data is arranged in a table form A matrix is a rectangular.
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry "Old Henry And His Old Aunt" Defined using right triangle  x y h.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Lecture 1 Linear algebra Vectors, matrices. Linear algebra Encyclopedia Britannica:“a branch of mathematics that is concerned with mathematical structures.
Matrices. Matrix A matrix is an ordered rectangular array of numbers. The entry in the i th row and j th column is denoted by a ij. Ex. 4 Columns 3 Rows.
LAB 2 Vectors and Matrices Dr.Abdel Fattah FARES.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices.
MTH108 Business Math I Lecture 20.
Linear Algebraic Equations and Matrices
Linear Algebra review (optional)
Unit 1: Matrices Day 1 Aug. 7th, 2012.
Linear Algebraic Equations and Matrices
Linear independence and matrix rank
Scalars and Vectors.
Vectors and Matrices I.
CSCI N207 Data Analysis Using Spreadsheet
Unsupervised Learning and Clustering
Derivation of the 2D Rotation Matrix
Transformations.
Linear Algebra review (optional)
Presentation transcript:

X is a matrix of size 4 x 2 (4 rows by 2 columns)

X is a matrix of size 2 x 3 (2 rows by 3 columns) Note the order how the matrix is filled The data vector with entries c(1,2,0,0,0,3) x 1,1 x 1,2 x 1,3 x 1,2 x 2,2 x 2, , 2, 0, 0, 0, 3

X is a matrix of size 4 x 2 (4 rows by 2 columns) A matrix is a 2-dimensional array of data. We can plot 2-dimensional data arrays in R with the image() function using different colors for the entries in the matrix. image(X) Problems: (1)rows are ordered along x- axis, columns ordered along y-axis y x

X is a matrix of size 4 x 2 (4 rows by 2 columns) A matrix is a 2-dimensional array of data. We can plot 2-dimensional data arrays in R with the image() function using different colors for the entries in the matrix. image(t(X)) Problems: (2) The transpose function t(X) yields an up-side-down image of the matrix y x

To solve the problem and plot an image that orders the rows and columns exactly as defined in our matrix X: (1)Flip the transposed matrix such that rows are ‘up-side-down’: see updated scripts/myfunctions.R : matrix_flip_v(X) (2)And then use the transpose of the returned (‘up-side-down’) matrix in the image() plot function t(matrix_flip_v(X))

(1)In myfunctions.R there is a supporting function matrix_image() (2)Call res<-matrix_image(X) (Note: the function returns the transformed matrix)

demo_matrix_image.R Download the updated scripts myfunctions.R demo_matrix_image.R (data/labrador.ppm

Vectors in R: y<-c(x1,x2,x3,…xn)

R-Code: Another common notation for vector dot products Mathemathics: ‘magnitude’ or ‘length’ of a vector

Download the updated scripts demo_linear_trans.R demo_eigenvectors.R