Standard deviation of 2D array

3 views (last 30 days)
Hi,
I am trying to calculate the standard deviation of 2D array 'v' of dimesnion 89 x 97.
I have tried as follows ,but it returns the output in the form of 1 x 97 instread of 89 x 97. Could someone help me with this
V1 = std (v);

Accepted Answer

Star Strider
Star Strider on 6 Nov 2021
The standard deviation of a scalar is 0 so the result is —
standard_deviation_v = zeros(size(v))
in this instance.
.
  4 Comments
Turbulence Analysis
Turbulence Analysis on 6 Nov 2021
Ok, I will look into this..

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!