I want to define three 3d Shapes in the code and then on each simulation pick one of these shapes randomly to plot points in it randomly uniformly.

조회 수: 2 (최근 30일)
Hi Everyone,
I want to learn how I can define three shapes in Matlab first i.e. boundaries of a cube & rectangle & sphere. So these shapes will give me boundaries in a 3D plot to identify what my region of interest is.
I want my code then to randomly pick one of these three defined shapes in each simulation and plot 'n' random points uniformly in that shape boundary.
any ideas will be appreciated.

답변 (0개)

카테고리

Help CenterFile Exchange에서 WSNs에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by