How to fix the error while running ksdensity function?

조회 수: 4 (최근 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