How to fix the error while running ksdensity function?
3 views (last 30 days)
Show older comments
I get the following error while calling the ksdensity routine. Can somebody tell me how to fix this?
3 Comments
Adam Danz
on 14 May 2019
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)?
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!