Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions 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
expand button
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
Check Mark
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

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