Standard Deviation

조회 수: 10 (최근 30일)
Firoz Alam
Firoz Alam 2011년 9월 28일
Hi, I have S=[2 4 4 4 5 5 7 9]; can any one tell me how can I count and plot standard deviation in this values?
  댓글 수: 2
Image Analyst
Image Analyst 2011년 9월 28일
Sorry, no. Not until you supply more info on what you mean, like why you expect more than one standard deviation from that set of observations.
Firoz Alam
Firoz Alam 2011년 9월 29일
or if the data set is s = [1:5; 6:10; 11:15], what will b the Std and std plot plz ? each row represent freq and column measurement valus... hope u undstd now

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

채택된 답변

Walter Roberson
Walter Roberson 2011년 9월 29일
numdev = floor((mean(S)-min(S))./std(S));
Determining the position of each standard deviation and plotting is left as a homework exercise.
Though possibly you want
numdev = floor((mean(S,2)-min(S,[],2))./std(S,[],2));
  댓글 수: 4
Firoz Alam
Firoz Alam 2011년 9월 30일
thnx :)
Shivakumar
Shivakumar 2013년 9월 25일
Thank you. I was helped by the answer.

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

추가 답변 (1개)

the cyclist
the cyclist 2011년 9월 29일
The standard deviation of the values in S can be calculated with the std() command:
>> std(S)
I'm not sure what you mean by plotting that standard deviation.
  댓글 수: 3
the cyclist
the cyclist 2011년 9월 29일
Sorry, but I am very confused. The standard deviation is one number. What exactly do you want to plot? What are you trying to do, see, or understand about that set of numbers by plotting? Type "help plot" for help on one simple plotting command.
Firoz Alam
Firoz Alam 2011년 9월 30일
its done ! thnx :)

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

카테고리

Help CenterFile Exchange에서 Power Converters에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by