Find a number which has maximum distance from the mean value of vector A.
Example:
A=[5 2 1 5 6 2 5 9]
y=9
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers60
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15814 Solvers
-
Sum of first n terms of a harmonic progression
520 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
652 Solvers
-
759 Solvers
-
6628 Solvers
More from this Author18
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!