how can ı draw a square plane with random coordinates and put a random circle on it?
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm trying to create a square with random coordinates and put a random coordinated circle in it. My aim is circle cannot reach the outside of the square plane and it can take every other positions in the square. However, i can not do it with coordinates. Any suggestions to this problem?
댓글 수: 0
답변 (1개)
Image Analyst
2019년 1월 28일
Once you see the FAQ, I'm sure a smart engineer like you will be able to figure it out:
It's easy.
But this requirement is nonsense: "i can not do it with coordinates". If you don't have coordinates, you can't draw a square or a circle, because you have no way of specifying where they are.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!