Why am I getting different matrix size for same input matrix size, while using Empirical distribution?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Roger Stafford
el 27 de Mayo de 2014
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.
Respuestas (0)
Ver también
Categorías
Más información sobre Probability Density Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!