Question: Write a script with commands to create the following vector and matrices and assign to the indicated variable names. Create an evenly - spaced row

Write a script with commands to create the following vector and matrices and assign to the indicated variable names.
Create an evenly-spaced row vector A with elements starting at and ending at with increments of .
Create an evenly-spaced row vector B with elements starting at 100 and ending at -100 with increments of -2.
Create a matrix AB with vector A as the top row and vector B as the bottom row.
Move the second column of AB to the end. Save the new matrix as AB.
HINT: (1) Extract the second column of AB and save to a variable. (2) Delete the second column of AB.(3) Create a new AB matrix by combing the extracted column at the end of the modifed AB matrix.

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!