Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How can I fit data same as app output?

1 view (last 30 days)
Jab
Jab on 12 Aug 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
Can anyone please help me in the following figure. When I use dfittool app, the result is good. But trying with following code, I am not able to get the same figure as in the second figure. %code,K is attached figure,hist(K);hold on; pd= fitdist(K','Kernel'); x_values = -30:0.1:40; y = pdf(pd,x_values); plot(x_values,y*(max(hist(K))/max(y)),'r','LineWidth',2)
<<
>>

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!