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

40.54% Correct | 59.46% Incorrect
Last Solution submitted on Jan 26, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers28

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!