I want to create an array of random floating-point numbers in MATLAB that are inside D
where the boundary D
is between
( (0.6+0.1*cos(3t))*cos(t) , (0.6+0.1*cos(3t))*sin(t) ) t \in [0, pi]
(x,y) where y=0
How can I create this array in MATLAB?
something like this picture; red points are on the boundary D
Aucun commentaire:
Enregistrer un commentaire