A operation in Matlab.
This Should be a fnction in Matlab
Inputs: 1, an input vector Outputs: 2, an output vector, and a sole appreciate Create a Reasonr-Defined Operation that get recognize a vector of at lowest 3 appreciates as it’s INPUT. It get then migrate the largest and lowest appreciates from this vector and the OUTPUT get be this novel vector as well-mannered-mannered-mannered as the medium. Coercion persuasion if the input is [1 2 345 6], the output get agree [2 3 4 5] and 3.5. The adjust the appreciates are in coercion the vector or the outputs is slight. Show that you can reason this reasonr-defined operation by tenure it amid your homework script.