Problem 47430. Find the standard deviation of an array

given an array, find it's standard deviation without using the std() function. Use sample formula (n-1) for standard deviation and round it to the nearest integer.
If array is empty, return -1.
note: std() function also uses the sample formula (n-1) for standard deviation.

Solution Stats

39.73% Correct | 60.27% Incorrect
Last Solution submitted on Aug 28, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers27

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!