how can ı draw a square plane with random coordinates and put a random circle on it?

3 ビュー (過去 30 日間)
Deniz Demirbas
Deniz Demirbas 2019 年 1 月 27 日
回答済み: Image Analyst 2019 年 1 月 28 日
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?

回答 (1 件)

Image Analyst
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.

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by