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

41.18% Correct | 58.82% Incorrect
Last Solution submitted on Dec 08, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers26

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!