How to fix the error while running ksdensity function?

2 ビュー (過去 30 日間)
christina
christina 2019 年 5 月 13 日
コメント済み: Adam Danz 2019 年 5 月 14 日
I get the following error while calling the ksdensity routine. Can somebody tell me how to fix this?
  3 件のコメント
christina
christina 2019 年 5 月 14 日
編集済み: christina 2019 年 5 月 14 日
r2018b
Adam Danz
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 件)

製品

Community Treasure Hunt

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

Start Hunting!

Translated by