Problem 661. Spot the outlier
Solution Stats
Problem Comments
-
3 Comments
The instructions were a bit confusing at first. It would have been better to say "Find the row number of the outlying point."
Also, using the third row as an answer and a 3 in a column of zeros makes it seem like the intent was to provide unclear instructions. (Or they are just used to writing college textbooks ;) )
The test set cases 2,3 seems to have two outliers for each case. Please check it
i struggled with this one, not so much because of the concepts/maths involved, but because of issues with floating point precision that occur with test case 3 where my functions kept erroring after determining that 15.0000 ~= 15
Solution Comments
Show commentsProblem Recent Solvers462
Suggested Problems
-
15767 Solvers
-
It dseon't mettar waht oedrr the lrettes in a wrod are.
1808 Solvers
-
2182 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
540 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
605 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!