How to do uniform random sampling for a small spherical patch?

spherical_patch_image-page.jpgThis kind of diagram of spherical patch. I need to do uniform random sampling for this patch for using with Monte Carlo code. Centre is at (0,0.0.6). The angle shown in the image is 32 degree. Kindly give me suggestion, how to do this.

2 Comments

Uniform spatially or uniform by angle (you cannot do both)
Uniform spatially within that Rmax and Rmin and within 0 to 32 deg angle

Sign in to comment.

Answers (0)

Categories

Find more on Random Number Generation in Help Center and File Exchange

Asked:

on 25 Apr 2019

Commented:

on 25 Apr 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!