Question: Create a vector (name it vtA) that has 10 elements of which the first is 8, the increment is 7, and the last element is

Create a vector (name it vtA) that has 10 elements of which the first is 8, the increment is 7, and the last element is 71. Then, assign elements of vtA to a new vector (call it vtB) such that vtB has 7 elements. The first 4 elements are the first 4 elements of the vector vtA, and the last 3 are the last 3 elements of the vector vtA. Do not type the elements of vtA vector explicitly.

Step by Step Solution

3.41 Rating (186 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Script file clear clc vtA 8771 alt... View full answer

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

Document Format (1 attachment)

Word file Icon

652-B-F-F-M (551).docx

120 KBs Word File

Students Have Also Explored These Related Finance Questions!