how to plot exponential pdf over a distributed data ?
Mostrar comentarios más antiguos
in order to find the best fit model
I want to produce this figure (a data & best fit over it):

so I try:
v=1:25;
n=[10;7;6;21;14;18;23;33;28;31;34;30;32;48;43;46;39;47;40;45;51;47;45;45;23];
plot(v,n,'*b')
ex=expfit(n);
E=exppdf(n,ex);
hold on
plot(v,E,'-r')
but it produce this figure:

how to modify the code to get the first figure?
1 comentario
Amr Hashem
el 24 de Oct. de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Exploration and Visualization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!