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 Solvers43
Suggested Problems
-
46600 Solvers
-
How to find the position of an element in a vector without using the find function
2813 Solvers
-
500 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1263 Solvers
-
Deleting an element in a matrix
490 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.