Question: and the 4 to 6 columns. Do not type the values explicitly. 7. (5 marks) Write the MATLAB commands that create the following matrices using
and the 4 to 6 columns. Do not type the values explicitly. 7. (5 marks) Write the MATLAB commands that create the following matrices using only the zeros, ones, and eye functions. Do not type the values explicitly. 11 001 0 1 0 A= 0 0 1 0 0 0 0 0 0 1 1 0 0 0 B=1 1 0 0 1 0 0 1 0 1 0 0 0 1 Then, compute the average and the sum of the values in the columns in B. 8. (S marks) Write the MATLAB command using shorthand notation to create the following vector V: V-[ 20 25 30 35 40 45 50 55 60 ) Then, create a 33 matrix M from the values in V as follows: 120 25 301 M 35 40 45 150 55 60 Finally, compute the square and the square root of the value in the center of M
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
