lecture (2) vectors, matrices eng. osama talaat 1

Post on 03-Jan-2016

220 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1Lecture (2)

Vectors, MatricesEng. Osama Talaat

2 Introduction

3 Introduction

Rotate

4 Introduction

Create Border

5 Vector Definition

6 Regular Vector

7 Regular VectorA = [0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5]

8 Test Yourself

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

9 Test YourselfA = [ 1 2 3 … 15 20 ]

10 Test Yourself

11 Regular Vector

0 25

12 Vector Length

13 Transpose

14 Transpose

15 Transpose

Try it !!

Dot Operator

16 Vector Addressingx = [2 3 4 12 15 14]

العنصر الخامس

العنصر األخيرTry it !!

1 2 3 4 5 6

17 Vector Addressingx = [2 3 4 12 15 14]

2العناصر من 4إلى

2العناصر من إلى اآلخر

العناصر ذات الترتيب الفردي

1 2 3 4 5 6

18 Adding elements to vector

إضافة قيمة

19 Adding elements to vector

إضافة عدة قيم

20 Adding elements to vector

إضافة قيمة في

غير ترتيبها

21 Changing vector elements

22 Changing vector elements

23 Deleting vector elements

24 Deleting vector elements

25 Vector Statistics

مجموع العناصر

حاصل ضرب العناصر

متوسط العناصر

26 Vector Statistics

ترتيب العناصر تصاعديا

ترتيب العناصر

تنازلياTry it!!

27 Vector Statistics

Maximum Value

Search help to find

maximum locatio

n

28 Vector Statistics

Minimum Value

Minimum valuelocatio

n

29 Vector Statistics

المتوسط

الوسيط

أكثر قيمة متكررة

30 Set Operations

التقاطع

االتحاد

إزالة المكرر

31 Set Operations

الفرق

32 Vector Application: Polynomial

جذور المعادلة

Substitutex=3

∴5 𝑥3−7 𝑥2−3=0

33 Vector Application: Polynomial

التفاضل

التكامل

34 Vector Application: Polynomial

إيجاد كثيرة حدود من

جذورها

Fittingإيجاد أقرب معادلة تعبر

عن قيم داخل جدول تعويض

35 Vector Application: Polynomial

إدخال المعادلتين

36 15-Min Break

67

8

121

2

3

4

5

9

10

11

37 Matrix Definition

The same Number of rows and the same number of

columns

38 Matrix Definition

Column Vector

39 Test Yourself

Define the matrix using

40 Matrix Dimensions

41 Matrix Dimensions

البعد األول (عدد

الصفوف)

البعد الثاني (عدد األعمدة)

42 Matrix Addressing

43 Matrix Addressing

44 Matrix Addressing

45 Matrix Addressing

46 Adding Elements to Matrix

Add row with

different values

Add columns with the

same value

47 Adding Elements to Matrix

Add single element

48 Deleting Elements to Matrix

Delete rows 4-6

Delete last

column

49 Changing Elements to Matrix

50 Matrix Parts

Diagonal

حاصل ضرب عناصره

51 Matrix Parts

مجموع عناصره

52 Matrix Parts

Upper triangle

Lower triangle

53 Matrix Operations

إدخالالمصفوفة

Transpose

المحدد

54 Matrix Operations

55 Matrix Operations

إدخالالمصفوفتين

56 Matrix Operations

57 Matrix Operations

ضرب المصفوفا

ت

58 Matrix Operations

ضرب كل قيمتين

متناظرتين

59 Matrix Operations: Division

60 Matrix Operations: Division

قسمة كل قيمتين متناظرتي

ن

61 Matrix Operations: Power

Square Matrix

تربيع كل عنصر على

حده

62GOOD LUCK

To be continued in the next lecture …

top related