MATLAB Answers

Info

This question is closed. Reopen it to edit or answer.

I need to allow a plot of 'n' random points in a 3D random space

7 views (last 30 days)
Logical
Logical on 5 Sep 2020
Closed: Rena Berman on 12 Oct 2020 at 18:47
Hi everyone,
Thank you all who are already trying to help me and appologies for keep asking questions.
In this thread I want to learn from experts following:
  1. How to Plot 'n' number of points randomly in one of the following 3D spaces/regions i.e. (cube/3d Rectangular/Speherical).
  2. the code should randomly pick one of the spaces each timeand then plot 'n' random points uniformly in that space.
  3. once plotted how can I obtain the location information of each point centrally? May be at an additional point/gateway at the origin.
I know there are many questions within one question but it is important to explain to someone who is trying to help you what exactly you wish to do. Any help for even a partial code would be appretiated.
I have already accomplished how to distribute random points on a 3d rectangular plot but the point which I am unsure about how to do the same when the dimentions of plot are to be randomly picked from a set of polar and rectangular coordinates.

  0 Comments

Answers (0)

Community Treasure Hunt

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

Start Hunting!