How can i implement this in matlab
조회 수: 2 (최근 30일)
이전 댓글 표시
r=5; re=3; ci={xi,yi,r}
Where xi, yi are random values of on grid
P is a point on grid (x,y)
d(ci,p)=sqrt((xi-x)^2+(yi-y)^2);
Then
Pcov(x,y,ci)= 1 if d(ci,p)<r-re
else exp(-0.5*(d(ci,p)-(r-re))^0.5) if r-re<d(ci,p)
else 0
댓글 수: 3
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Probability Density Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!