フィルターのクリア

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 Center および File ExchangeNumerical 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