Cody

Problem 44641. Outlier number!

Created by Majid Farzaneh in Community

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

68.89% Correct | 31.11% Incorrect
Last solution submitted on Feb 25, 2019