主題
Search

圓盤點選取


CircularDistribution

為了在單位圓盤上生成隨機點,使用兩個均勻分佈的變數 r 在 [0,1] 中theta 在 [0,2pi) 中 然後取值是不正確的

x=rcostheta
(1)
y=rsintheta.
(2)

因為面積元素由下式給出

 dA=2pirdr,
(3)

這會在中心產生點的集中(上圖左側)。

正確的變換應由下式給出

x=sqrt(r)costheta
(4)
y=sqrt(r)sintheta
(5)

(上圖右側)。

單位圓盤中隨機選取的點到中心距離 d 的機率函式為

 P(d)=2d.
(6)

因此,原始矩由下式給出

 mu_n^'=2/(2+n),
(7)

給出平均距離 d^_=2/3


參見

圓點選取, 圓盤線選取, 點選取, 球點選取

使用 探索

引用為

Weisstein, Eric W. "圓盤點選取。" 來自 Web 資源。 https://mathworld.tw/DiskPointPicking.html

主題分類