Standard deviation of 2D array

3 vues (au cours des 30 derniers jours)
Turbulence Analysis
Turbulence Analysis le 6 Nov 2021
Commenté : Star Strider le 6 Nov 2021
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);

Réponse acceptée

Star Strider
Star Strider le 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 commentaires
Turbulence Analysis
Turbulence Analysis le 6 Nov 2021
Ok, I will look into this..
Star Strider
Star Strider le 6 Nov 2021
Thank you.
.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by