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 Commenti

The error is not reproduced in r2019a. What release are you using?
ver
christina
christina il 14 Mag 2019
Modificato: christina il 14 Mag 2019
r2018b
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)?

Accedi per commentare.

Risposte (0)

Prodotti

Richiesto:

il 13 Mag 2019

Commentato:

il 14 Mag 2019

Community Treasure Hunt

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

Start Hunting!

Translated by