a. aMat= V a 9x9 matrix full of 2's (use 'ones' or 'zeros').
12
1
b. bMat=1
2
01
a 9x9 matrix of all zeros, but with the values 1-9 on the main
to ... 9
diagonal (use 'zeros', 'diag').
CMat=1_{-5}^{11}
0
1
Expert's answer
2021-09-28T06:23:40-0400
clc
%aMat= V a 9x9 matrix full of 2's (use 'ones' or 'zeros').
aMat = randi([0,1], 9,9)
%9x9 matrix of all zeros, but with the values 1-9 on the main
v = [1:9];
bMat = diag(v)
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment