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

78 Solutions

30 Solvers

Last Solution submitted on Feb 17, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers30

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!