Question: Using Matlab for this HW assignment HW Assignment 05 (100 pts.) Topics from Lectures 09-10 Problem l Equally space elements of a vector x on
Using Matlab for this HW assignment
HW Assignment 05 (100 pts.) Topics from Lectures 09-10 Problem l Equally space elements of a vector x on the linear scale can be generated as follows x [s,s + d,s +2d., f-s (n -1)d] where, n is the number of elements, s is the initial value, f is the final value and d is the increment/decrement calculated as follows n -1 a) b) (10 pts.) Create a rank-1 vector x with 100 equally spaced values from -3.25 to 10. (5 pts.) Display the value of the first, second, last and the element right before the last one of the vector created in (a). c)(5 pts.) Create a new vector whose elements are the first, third, fifth, and seventh elements of the vector created in (a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
