Why am I getting different matrix size for same input matrix size, while using Empirical distribution?
2 ビュー (過去 30 日間)
古いコメントを表示
x=[817.8 634.4 606.9 773.6 504.8 667.8 1283.6 473 1621.2 764.8 664.8 674.8 570.6 414.8 650.6 874.8 826.4 ]'
y=[646 377 298 504 100 227 504 237 816 456 404.65 615.9 478.9 195.6 433.2 417.2 959.1 ]'
For E_x=ecdf(x); I am getting output matrix size as (18 X 1) while, for E_y=ecdf(y).
I am getting output matrix size as (17 X 1). I am not getting why like this happening as for both input matrix size is (17X 1)
Pawan.
1 件のコメント
Roger Stafford
2014 年 5 月 27 日
What are the 18 "observed value" outputs from 'ecdf'? That is, what is the second output? That should give you a clue as to the trouble. It would contain one more value than is presumably in your 'x' list.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Probability Density Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!