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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15782 Solvers
-
3433 Solvers
-
5972 Solvers
-
Make a run-length companion vector
657 Solvers
-
301 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.