Question: Q2/ Write a script file to transpose horizontal vector created in Q1-a and do the following operations (addition, division, and multiplication) between the transposed

Q2/ Write a script file to transpose horizontal vector created in Q1-a and do the following operations (addition, division, and multiplication) between the transposed vector and the normal vector created in Q1-a to generate a new vector. Q3/ Write a script file to generate a vector contains (1 row) and (20 columns) not equally spaced, the script must include statements to display elements from (4 to 6) and (10 to 17). Q4/ Delete the elements of the following locations (1, 3, 7, 13, 19, 20) of the vector that created in Q3, then display the modified vector after the deletion process, then added the deleted elements and return the vector to its original form (20 elements) without using direct entering method.
Step by Step Solution
3.38 Rating (157 Votes )
There are 3 Steps involved in it
clc clear Clearing the command window and workspace linspacepipi 15 Creating a horizontal vector vec... View full answer
Get step-by-step solutions from verified subject matter experts
