How to generate random points in a particular angle ?
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (1개)
Torsten
2017년 6월 7일
Generate a random point in a box that contains your conic. Accept the random point if it falls into the conic, otherwise reject it.
Best wishes
Torsten.
댓글 수: 2
Torsten
2017년 6월 8일
The answer by "Loginatorist" shows the principle for uniformly distributed points in a circle of radius r:
https://de.mathworks.com/matlabcentral/answers/294-generate-random-points-inside-a-circle
Best wishes
Torsten.
참고 항목
카테고리
Help Center 및 File Exchange에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!