Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Issue with ksdensity command in plotting Rayleight distributed signal
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi All,
I am trying to get the PDF of a signal using ksdensity command. It is working fine with the gaussian distribution (distribution of a random noise). But when I plot the distribution of the power of this random signal (which should be rayleigh), it is not what is expected from the theory. Ideally power of the signal can never be zero, but when I use ksdensity command, instead of starting from 0, the PDF of noise signal's power starts from some negetive mean value. Image attached for reference. I tried to use the hist command as well, but am getting the same results. Is there anyway to debug this, or use any other command to get the proper rayleight distribution.
![PDFF.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254659/PDFF.jpeg)
Regards
Anum
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!