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
-
Extract leading non-zero digit
2252 Solvers
-
Project Euler: Problem 7, Nth prime
1776 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
Set the array elements whose value is 13 to 0
1451 Solvers
-
119 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!