Answered step by step
Verified Expert Solution
Question
1 Approved Answer
. Do some cool operations: Create a 10 x 10 random matrix with the command A=rand ( 10) . Now do the following operations. Multiply
. Do some cool operations: Create a 10 x 10 random matrix with the command A=rand ( 10) . Now do the following operations.
Multiply all elements by 100 and then round off all elements of the matrix to integers with the command A=fix (A) .
Replace all elements of A
Replace all elements of A > 90 with infinity ( inf) .
Extract all 30 aij 50 in a vector b, that is, find all elements of A that are between 30 and 50 and put them in a vector b.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started