a) A random matrix of 4x4 is given as below [12.3 39.5 65.3 31.41 62.2 65.6 35.3 66.1 R= 44.5 65.1 55.0 30.0 l11.5 14.9 10.7 25.7 ITM i) Write a MATLAB command to create matrix of R Command Window ii) Based on matrix R, give the command for the following answer Command Window ans 31.4000 ans - 65.1000 55.0000 ans 39.5000 66.5000 65.1000 14.9000

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

Matlab programming please help

a) A random matrix of 4x4 is given as below
[12.3 39.5 65.3 31.41
62.2 65.6 35.3
30.0/ sTM
25.7
66.1
R =
44.5 65.1 55.0
l11.5 14.9 10.7
ITM T
i) Write a MATLAB command to create matrix of R
Command Window
A »R=
>>
ii) Based on matrix R, give the command for the following answer
Command Window
>>
ans
= 31.4000
ans = 65.1000 55.0000
>>
ans = 39.5000
66.5000
65.1000
14.9000
Transcribed Image Text:a) A random matrix of 4x4 is given as below [12.3 39.5 65.3 31.41 62.2 65.6 35.3 30.0/ sTM 25.7 66.1 R = 44.5 65.1 55.0 l11.5 14.9 10.7 ITM T i) Write a MATLAB command to create matrix of R Command Window A »R= >> ii) Based on matrix R, give the command for the following answer Command Window >> ans = 31.4000 ans = 65.1000 55.0000 >> ans = 39.5000 66.5000 65.1000 14.9000
iii) Write a single-line MATLAB command for the following questions.
Command Window
fx >> % Inverse of matrix R
> % Average of all the elements in matrix R
>>
>> % Transpose of 3d row of matrix R
> % Multiply the second element in matrix R with 0.52
>>
> % Multiply the element in the 4* row 2d column of matrix R to all elements in
the matrix of [7.3 1.8 4.1]
Transcribed Image Text:iii) Write a single-line MATLAB command for the following questions. Command Window fx >> % Inverse of matrix R > % Average of all the elements in matrix R >> >> % Transpose of 3d row of matrix R > % Multiply the second element in matrix R with 0.52 >> > % Multiply the element in the 4* row 2d column of matrix R to all elements in the matrix of [7.3 1.8 4.1]
Expert Solution
steps

Step by step

Solved in 3 steps

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