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
-
3984 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3740 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
591 Solvers
-
Count decimal digits of a number
238 Solvers
-
Calculate Amount of Cake Frosting
30790 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!