standard deviation array double
8 views (last 30 days)
Show older comments
Guido Pastore
on 3 Mar 2019
Commented: Steven Lord
on 3 Mar 2019
How to make the standard deviation of a double array??
0 Comments
Accepted Answer
Image Analyst
on 3 Mar 2019
Use std():
sd = std(yourDoubleArray(:))
1 Comment
Steven Lord
on 3 Mar 2019
If you're using release R2018b or later you can use the 'all' flag to compute the standard deviation of the array as a whole.
std(yourDoubleArray, 0, 'all')
More Answers (0)
See Also
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!