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
-
Getting the indices from a vector
12249 Solvers
-
Set the array elements whose value is 13 to 0
1449 Solvers
-
1240 Solvers
-
370 Solvers
-
Sum the 'edge' values of a matrix
404 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!