Question: Matlab Create a function. This function will accept any size vector as an input and will return a vector as an output that includes all
Create a function. This function will accept any size vector as an input and will return a vector as an output that includes all the odd indexed elements (1st,3e ,5th,.. element) of the input vector .Examples: If input is x [5 6 3 4 20 1], output y is [5 3 21]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
