Question: Using : to create and index (select) from matrices Near the end of class, we talked about use of a colon (:) to both create,

 Using : to create and index (select) from matrices Near the

Using : to create and index (select) from matrices Near the end of class, we talked about use of a colon (:) to both create, and index from, matrices. In this problem set, you'll be tasked with both uses of the colon. Starting with the matrix here: 7 8 7 4 3 9 10 1 0 -1 A= 4 8 2 3 5 5 3 9-2 0 Write the command, or commands, to select the third column from A and save this into an matrix called B Write the command, or commands, to select the second row from A and save this into an matrix called C. Write the command(s) to change the 3rd row, 4th column of A to -100, and save this into an matrix called D. Write the command(s) to replace the first column of D with this column vector, and assign to a matrix called E. 107 20 CV new = 30 40 Write the command(s) to replace the last row of E with a row vector that starts with 40 and counts down in steps of 10; assign to F. (hint! use : )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!