Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7 A ) Generate a 1 0 x 2 0 matrix with random numberv between and 1 . hanction randi ( c ) Ads tbe

7 A)Generate a 10x20 matrix with random numberv between and 1. hanction "randi
(c) Ads tbe tint matrix in A to a sub-unatriv lrom the matrix in . B with a suitable tore:
D) Extract fwo vecters foon the webhid matris in part B, where: r is a row vectos
e) Mlultiply r by'e using matrix muhiplication.
(if) did tow ather transpritit one of them.
Cerc
G) Flip imatriv' B istot thind the diaportal values.
. Find ite indiacs of the valaes that are gfeater of cqual to 3 in the matroin port It.
(3) Delete 10 nyes fesai the matris it part A :
c). What is the sae of the reigit matrix in part J?
(0;20)
[You may wes 'rand', 'randi", 'fiple', "dian', 'find', 'sige', 'length']
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

Students also viewed these Databases questions