(Solved) : Write Answers A1txt Submit Matlab Output Commands Q43915241 . . .
write answers in a1.txt.
. Do not submit the MATLAB output of these commands
7. Write the MATLAB commands that create the following matrices using only the zeros, ones, and eye functions. Do not type the values explicitly. 0 1 0 0 0 0 A = lo 1 01 Lo 0 1] 1 1 1 1 11 0 1 0 0 0 B = lo 0 1 0 0 0 0 0 1 0 Lo 0 0 0 11 Then, compute the average and the sum of the values in the columns in B. 8. Write the MATLAB command using shorthand notation to create the following vector V: V=[ 10 15 20 25 30 35 40 45 50 ] Then, create a 3 x 3 matrix M from the values in V as follows: M = 110 15 201 25 30 35 40 45 50) Finally, compute the square and the square root of the value in the center of M. Show transcribed image text 7. Write the MATLAB commands that create the following matrices using only the zeros, ones, and eye functions. Do not type the values explicitly. 0 1 0 0 0 0 A = lo 1 01 Lo 0 1] 1 1 1 1 11 0 1 0 0 0 B = lo 0 1 0 0 0 0 0 1 0 Lo 0 0 0 11 Then, compute the average and the sum of the values in the columns in B. 8. Write the MATLAB command using shorthand notation to create the following vector V: V=[ 10 15 20 25 30 35 40 45 50 ] Then, create a 3 x 3 matrix M from the values in V as follows: M = 110 15 201 25 30 35 40 45 50) Finally, compute the square and the square root of the value in the center of M.
Expert Answer
Answer to write answers in a1.txt. . Do not submit the MATLAB output of these commands…
OR