Question: Problem #2: (15 points) Write a MATLAB function that takes as input a vector and returns the mean, and median of the vector. You may
Problem #2: (15 points) Write a MATLAB function that takes as input a vector and returns the mean, and median of the vector. You may use the command sort but no built in commands anywhere similar to mean or median. Be sure to handle vectors that have both an even or an odd length to them
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
