Question: 4 . Using,Create a row vector vec that the elements start from - 1 0 to 1 0 , by incremental 5 , using colon
Using,Create a row vector vec that the elements start from to by incremental using colon operator.
Then do the followings:
a Create a new vector sub vec by extracting the last elements from vector vec.
b Change the value of last element of vec such that the value of last element is calculated using function
sin
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
