Question: It is a function from matlab. This should be a local function so please use the function to answer this. 5. (10 points) Write a

It is a function from matlab. This should be a local function so please use the function to answer this.
5. (10 points) Write a local function FindMinVal that takes a row vector as input and returns the minimum value and its index as outputs. Call your function with an input vector v=[4,1,6,9,2,3,8,3] to return a minimum value of 1 located in position 2. Do not use the built-in function min in your function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
