I should fill the area of a 400x100 square with random circles having random diameters between 20 and 1 (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
1 view (last 30 days)
Show older comments
please some body help??
2 Comments
Geoff Hayes
on 31 Jan 2019
M - what have you tried so far? Please show your work and describe any issues or errors that you have encountered.
Jan
on 31 Jan 2019
Please mention the details: Are the random diameters the floating point values from 1 to 20, or the integers? Does "between" mean inclusively or exclusively? Are the random diameters distributed equally or normally or what? What is the format of the output file? How can a "400x100" be a square and not a rectangle? How many random circles do you want? Do you want the package with the maximum number for a given set of circles? Or are the centers set randomly also?
Currently your question does not contain enough details to be answered and you did not show, what you have tried so far. It sounds like you want the forum to solve your homework.
Answers (3)
See Also
Categories
Find more on Creating and Concatenating Matrices 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!