Randomly generate discs in 3d space

2 views (last 30 days)
Niharika_dc
Niharika_dc on 8 Apr 2023
Answered: Walter Roberson on 8 Apr 2023
I want to find the coordinates of randomly oriented discs in a 3d space

Answers (1)

Walter Roberson
Walter Roberson on 8 Apr 2023
Generate disks centered around (0,0,0) . Apply a random rotation around two of the axes -- disks are invariant around the third axes. Add a random translation.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!