Given the following matrix: a 11 3 -9 15 -5 7 11 13 17 19] find sum of columns, sum of rows, minimum value in each row, maximum value in each column, mean for rows, mean for columns. Set the values for matrix a that are less than mean to zero. Set the values for matrix a that are positives to zero.

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

i need clear ans and solve very very fast in 20 min and thank you | ᴅʏʙᴀʟᴀ ?✨؛

Given the following matrix:
3
-5 7
a= -9 11 13
17 191
15
a) find sum of columns, sum of rows, minimum value in each row,
maximum value in each column, mean for rows, mean for columns.
b) Set the values for matrix a that are less than mean to zero.
c) Set the values for matrix a that are positives to zero.
d) add row as fourth row.
e) delete second column.
use matlab
Transcribed Image Text:Given the following matrix: 3 -5 7 a= -9 11 13 17 191 15 a) find sum of columns, sum of rows, minimum value in each row, maximum value in each column, mean for rows, mean for columns. b) Set the values for matrix a that are less than mean to zero. c) Set the values for matrix a that are positives to zero. d) add row as fourth row. e) delete second column. use matlab
Expert Solution
Step 1

Note:-

According to our bartleby answering guideline , we can only answer first three subpart of the question.

Please repost the remaining question.

Part A:- 

Code:-

a = [3 -5 7; -9 11 13; 15 17 19]
disp('Column_Sum')
sum(a)
disp('Row_Sum')
sum(a,2)
disp('Minimum value in each row')
min(a,[],2)
disp('Maximum value in each column')
max(a)
disp('Mean value of row')
mean(a,2)
disp('Mean value of column')
mean(a)

Code Screenshot part A:-

Computer Engineering homework question answer, step 1, image 1

Output of part A:- 

Computer Engineering homework question answer, step 1, image 2

steps

Step by step

Solved in 3 steps with 6 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