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
-
Return the 3n+1 sequence for n
8535 Solvers
-
424 Solvers
-
Set some matrix elements to zero
644 Solvers
-
Change the sign of even index entries of the reversed vector
661 Solvers
-
3767 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!