Lecture (2) Vectors, Matrices Eng. Osama Talaat 1.

Slides:



Advertisements
Similar presentations
4.1 Introduction to Matrices
Advertisements

تعريف المصفوفات Arrays Dim OneDim (9) As Integer ' 10 عناصر Dim TwoDims (1, 1) As String ' عناصر 4= 2 * 2 OneDim (0) = 100 OneDim (1) = 200 … OneDim (9)
Linear Algebra.
Maths for Computer Graphics
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
Psychology 202b Advanced Psychological Statistics, II January 18, 2011.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
Subspaces, Basis, Dimension, Rank
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
Section 10.3 – The Inverse of a Matrix No Calculator.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 5QF Introduction to Vector and Matrix Operations Needed for the.
How to find the inverse of a matrix
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
4.2 Operations with Matrices Scalar multiplication.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 2.1: Recap on Linear Algebra Daniel Cremers Technische Universität.
ECON 1150 Matrix Operations Special Matrices
Little Linear Algebra Contents: Linear vector spaces Matrices Special Matrices Matrix & vector Norms.
Lesson 13-1: Matrices & Systems Objective: Students will: State the dimensions of a matrix Solve systems using matrices.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Traversing an array 1.Definition 2.Use the for loop 3.Some new functions 4.Use the while loop 1.
Class Opener:. Identifying Matrices Student Check:
4.4 Identify and Inverse Matrices Algebra 2. Learning Target I can find and use inverse matrix.
How to Multiply Two Matrices. Steps for Matrix Multiplication 1.Determine whether the matrices are compatible. 2.Determine the dimensions of the product.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
3.6 Multiplying Matrices Homework 3-17odd and odd.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
4.1 An Introduction to Matrices Katie Montella Mod. 6 5/25/07.
Precalculus Section 14.1 Add and subtract matrices Often a set of data is arranged in a table form A matrix is a rectangular.
Matrices. Matrix - a rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - each value in.
Chapter 4 Section 1 Organizing Data into Matrices.
فصل 1 (المصفوفات)Matrices
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Matrices and systems of Equations. Definition of a Matrix * Rectangular array of real numbers m rows by n columns * Named using capital letters * First.
LAB 2 Vectors and Matrices Dr.Abdel Fattah FARES.
MTH108 Business Math I Lecture 20.
Umm Al-Qura University
Matrices and Vector Concepts
13.4 Product of Two Matrices
12-1 Organizing Data Using Matrices
Multiplying Matrices.
Matrix Operations.
Linear Algebra Lecture 2.
Finding the Surface Area of a Regular Pyramid
Matrix Multiplication
Introduction To Matrices
Matrix Operations.
Matrix Operations SpringSemester 2017.
Introduction to Matrices
4.5 Determinants of Matrices
Matrices Elements, Adding and Subtracting
CSCI N207 Data Analysis Using Spreadsheet
MATRICES MATRIX OPERATIONS.
2.2 Introduction to Matrices
Section 3.3 – The Inverse of a Matrix
Determinant of a Matrix
Matrices.
REDUCING MATRICES.
Lecture 8 System of Linear Differential Equations fall semester
3.6 Multiply Matrices.
1.8 Matrices.
Matrix Multiplication
Matrix Operations SpringSemester 2017.
Matrices and Determinants
Matrix A matrix is a rectangular arrangement of numbers in rows and columns Each number in a matrix is called an Element. The dimensions of a matrix are.
1.8 Matrices.
Introduction to Matrices
Presentation transcript:

Lecture (2) Vectors, Matrices Eng. Osama Talaat 1

Introduction 2

3 Rotate

Introduction 4 Create Border

Vector Definition 5

Regular Vector 6

7 A = [ ]

Test Yourself 8 أوجد الأعداد الفردية الواقعة بين 5 و 75

Test Yourself 9 A = [ … ]

Test Yourself 10

Regular Vector

Vector Length 12

Transpose 13

Transpose 14

Transpose 15 Try it !! Dot Operator

Vector Addressing 16 x = [ ] العنصر الخامس العنصر الأخير Try it !!

Vector Addressing 17 x = [ ] العناصر من 2 إلى 4 العناصر من 2 إلى الآخر العناصر ذات الترتيب الفردي

Adding elements to vector 18 إضافة قيمة

Adding elements to vector 19 إضافة عدة قيم

Adding elements to vector 20 إضافة قيمة في غير ترتيبها

Changing vector elements 21

Changing vector elements 22

Deleting vector elements 23

Deleting vector elements 24

Vector Statistics 25 مجموع العناصر حاصل ضرب العناصر متوسط العناصر

Vector Statistics 26 ترتيب العناصر تصاعديا ترتيب العناصر تنازليا Try it!!

Vector Statistics 27 Maximum Value Search help to find maximum location

Vector Statistics 28 Minimum Value Minimum value location

Vector Statistics 29 المتوسط الوسيط أكثر قيمة متكررة

Set Operations 30 التقاطع الاتحاد إزالة المكرر

Set Operations 31

Vector Application: Polynomial 32 جذور المعادلة Substitute x=3

Vector Application: Polynomial 33 التفاضل التكامل

Vector Application: Polynomial 34 إيجاد كثيرة حدود من جذورها Fitting إيجاد أقرب معادلة تعبر عن قيم داخل جدول تعويض

Vector Application: Polynomial 35

15-Min Break

Matrix Definition 37 The same Number of rows and the same number of columns

Matrix Definition 38 Column Vector

Test Yourself 39

Matrix Dimensions 40

Matrix Dimensions 41 البعد الأول ( عدد الصفوف ) البعد الثاني ( عدد الأعمدة )

Matrix Addressing 42

Matrix Addressing 43

Matrix Addressing 44

Matrix Addressing 45

Adding Elements to Matrix 46 Add row with different values Add columns with the same value

Adding Elements to Matrix 47 Add single element

Deleting Elements to Matrix 48 Delete rows 4-6 Delete last column

Changing Elements to Matrix 49

Matrix Parts 50 Diagonal حاصل ضرب عناصره

Matrix Parts 51 مجموع عناصره

Matrix Parts 52 Upper triangle Lower triangle

Matrix Operations 53

Matrix Operations 54

Matrix Operations 55

Matrix Operations 56

Matrix Operations 57

Matrix Operations 58 ضرب كل قيمتين متناظرتين

Matrix Operations: Division 59

Matrix Operations: Division 60 قسمة كل قيمتين متناظرتين

Matrix Operations: Power 61

GOOD LUCK To be continued in the next lecture … 62