This problem is a simple version of control charts in statistics. Intput consists from 30 or more observations.
- Upper limit = mean(input) + 3 * std(input)
- Lower limit = mean(input) - 3 * std(input)
If all of the observations are between upper limit and lower limit then return true.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers44
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3406 Solvers
-
Magic is simple (for beginners)
11138 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1263 Solvers
-
445 Solvers
-
Convert a vector of Integers into a matrix of binaries
79 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
test suite is correct, but the problem statement is incorrect. Upper limit should be mean PLUS 3 stdev, and lower limit should be minus 3 stdev.
thanks for the warning. I have corrected the problem statement.