필터 지우기
필터 지우기

gauss(x,mu,s) but my x variable is double...

조회 수: 4 (최근 30일)
Nikola
Nikola 2014년 7월 23일
댓글: Star Strider 2014년 7월 23일
x =
Columns 1 through 21
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Columns 22 through 42
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Columns 43 through 63
5 5 5 5 5 5 5 5 5 5 5 5 5 5 4 4 4 4 4 4 4
Columns 64 through 84
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
Columns 85 through 105
4 4 4 4 4 4 4 4 4 4 4 4 4 3 3 3 3 3 3 3 3
Columns 106 through 126
3 3 3 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Columns 127 through 147
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Columns 148 through 168
5 5 5 5 5 5 5 5 5 4 4 4 4 4 4 4 4 4 4 4 4
Columns 169 through 189
4 4 4 4 4 4 4 4 4 4 4 4 4 4 3 3 3 3 5 5 5
Columns 190 through 210
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Columns 211 through 231
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Columns 232 through 252
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Columns 253 through 273
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
Columns 274 through 275
4 4
mu=mean(x)
mu =
4.563636363636364
>> s=std(x)
s =
0.596939773815894
>> gauss=gauss(x,mu,s) ??? Undefined function or method 'gauss' for input arguments of type 'double'. I WANT TO PLOT GAUSSIAN DISTRIBUTION OF THESE NUMBERS BUT I CANT MAKE GAUSS FUNCTION.... plot(x,gauss)?

답변 (1개)

dpb
dpb 2014년 7월 23일
>> which gauss
'gauss' not found.
>>
gauss isn't in the Matlab base product nor Stat Toolbox. If have the latter try
doc normplot

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by