standard deviation array double

3 次查看(过去 30 天)
How to make the standard deviation of a double array??

采纳的回答

Image Analyst
Image Analyst 2019-3-3
Use std():
sd = std(yourDoubleArray(:))
  1 个评论
Steven Lord
Steven Lord 2019-3-3
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')

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by