eet 4 Exercise 1 1992>how a) Create a row vector using the set of numbers from 1-10. b) Change the row vector in step (a) to a column vector. c) Replace number 3 and 4 in the vector with -3 and -4. d) Recall element 1 and 7. e) 16 Note: Solution using matlab

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Worksheet 4
Exercise 1
E 1992x10W
a) Create a row vector using the set of numbers from 1-10.
b) Change the row vector in step (a) to a column vector.
c) Replace number 3 and 4 in the vector with -3 and -4.
d) Recall element 1 and 7.
e) If ml and m2 are the matrices below, consider the following:
m1 =
1
3
5
7
8 9
11 12 13 14
2
4 5
m3 =
10
ENGG100-Fall 2022
15
1- Find the summation of ml
2- Find the summation of the matrices (m1 and m2).
3- Find the subtraction of the matrices (m1 and m2).
4- Find the multiplication of the matrices (m1 and m2).
f) If m3 and m4 are the matrices below,
1 2 3
4 5
m2=
m4=
m5 =
16 17 18 19 20
21 22 23 24 25
26 27 28 29 30
1 21
34
5 6
1- Find the multiplication (m3 x m4). (Have you noticed the difference in the
multiplication operation between step f and g?)
g) If m5 is the matrix below,
/1 0 0
0 1 0
0 0 1
1- Find the inverse of m5 (m5-¹). What do we call it?
Note: Solution using matlab
Bonus
h) Create a random 4x5 matrix (call it m6)
i) Sort m6 in ascending order. Hint: use the sort function.
j) Create a 2x2 zero matrix. Hint: use the zeros function.
k) Create a 2x2 ones matrix. Hint: use the ones function.
Transcribed Image Text:Worksheet 4 Exercise 1 E 1992x10W a) Create a row vector using the set of numbers from 1-10. b) Change the row vector in step (a) to a column vector. c) Replace number 3 and 4 in the vector with -3 and -4. d) Recall element 1 and 7. e) If ml and m2 are the matrices below, consider the following: m1 = 1 3 5 7 8 9 11 12 13 14 2 4 5 m3 = 10 ENGG100-Fall 2022 15 1- Find the summation of ml 2- Find the summation of the matrices (m1 and m2). 3- Find the subtraction of the matrices (m1 and m2). 4- Find the multiplication of the matrices (m1 and m2). f) If m3 and m4 are the matrices below, 1 2 3 4 5 m2= m4= m5 = 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 21 34 5 6 1- Find the multiplication (m3 x m4). (Have you noticed the difference in the multiplication operation between step f and g?) g) If m5 is the matrix below, /1 0 0 0 1 0 0 0 1 1- Find the inverse of m5 (m5-¹). What do we call it? Note: Solution using matlab Bonus h) Create a random 4x5 matrix (call it m6) i) Sort m6 in ascending order. Hint: use the sort function. j) Create a 2x2 zero matrix. Hint: use the zeros function. k) Create a 2x2 ones matrix. Hint: use the ones function.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY