How to generate random points in a particular angle ?
Mostrar comentarios más antiguos
I need to generate random points in a particular angle, i.e., in a conic shape.
1 comentario
Adam
el 7 de Jun. de 2017
Points in how many dimensions? Please give a more specific question.
Respuestas (1)
Torsten
el 7 de Jun. de 2017
0 votos
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.
Categorías
Más información sobre Random Number Generation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!