Effacer les filtres
Effacer les filtres

How to fix the error while running ksdensity function?

2 vues (au cours des 30 derniers jours)
christina
christina le 13 Mai 2019
Commenté : Adam Danz le 14 Mai 2019
I get the following error while calling the ksdensity routine. Can somebody tell me how to fix this?
  3 commentaires
christina
christina le 14 Mai 2019
Modifié(e) : christina le 14 Mai 2019
r2018b
Adam Danz
Adam Danz le 14 Mai 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)?

Connectez-vous pour commenter.

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by