Standard deviation of 2D array

조회 수: 3 (최근 30일)
Turbulence Analysis
Turbulence Analysis 2021년 11월 6일
댓글: Star Strider 2021년 11월 6일
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);

채택된 답변

Star Strider
Star Strider 2021년 11월 6일
The standard deviation of a scalar is 0 so the result is —
standard_deviation_v = zeros(size(v))
in this instance.
.
  댓글 수: 4
Turbulence Analysis
Turbulence Analysis 2021년 11월 6일
Ok, I will look into this..
Star Strider
Star Strider 2021년 11월 6일
Thank you.
.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by