Question: 7 A ) Generate a 1 0 x 2 0 matrix with random numberv between and 1 . hanction randi ( c ) Ads tbe
AGenerate a x matrix with random numberv between and hanction "randi
c Ads tbe tint matrix in A to a subunatriv lrom the matrix in B with a suitable tore:
D Extract fwo vecters foon the webhid matris in part B where: is a row vectos
e Mlultiply r by'e using matrix muhiplication.
if did tow ather transpritit one of them.
G Flip imatriv' istot thind the diaportal values.
Find ite indiacs of the valaes that are gfeater of cqual to in the matroin port It
Delete nyes fesai the matris it part :
c What is the sae of the reigit matrix in part J
;
You may wes 'rand', 'randi", 'fiple', "dian', 'find', 'sige', 'length'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
