subject

Matrix-matrix multiplication: generate two 3 × 3 random matrices with integer entries with the commands: r =round(10*rand( s=round(10*rand(3)) the command rand(3) generates a random 3 × 3 matrix with entries in between 0 and 1. we multiply that matrix by 10 so that it has entries between 0 and 10 and then we use the command round to round to the nearest integer. compute the following: (i) [r*s(: ,1), r*s(: ,2), r*s(: ,3)] (ii) [r(1,: )*s; r(2,: )*s; r(3,: )*s ] (iii) compare the results of parts (i) and (ii) to the product r*s (iv) explain how the matrices in (i) and (ii) are generated.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 23:40
4. what is the reason for including the following code snippet in the header file animal.h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
question
Computers and Technology, 24.06.2019 07:30
Jason is working on a microsoft excel worksheet and he wants to create a print preview shortcut. his teacher asks him to access the customization option to create the new shortcut. which two tabs should jason select to place the print preview shortcut on the worksheet toolbar? a. new tab (custom) and new group (custom) b. new file tab (custom) and new tab (custom) c. new custom group and new command d. new custom tab and new command
Answers: 2
You know the right answer?
Matrix-matrix multiplication: generate two 3 × 3 random matrices with integer entries with the comm...
Questions
Questions on the website: 13722361