Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can I fit data same as app output?

1 次查看(过去 30 天)
Jab
Jab 2016-8-12
关闭: MATLAB Answer Bot 2021-8-20
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)
<<
>>

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by