How to fix the error while running ksdensity function?
显示 更早的评论
I get the following error while calling the ksdensity routine. Can somebody tell me how to fix this?

3 个评论
Adam Danz
2019-5-13
The error is not reproduced in r2019a. What release are you using?
ver
Adam Danz
2019-5-14
I just tried it in 2018b; again, no problems.
x = [randn(30,1); 5+randn(30,1)];
[f, xi] = ksdensity(x);
Is the problem reproducible on your machine? Are you running those exact lines (above)?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Binomial Distribution 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!