draw rectangular

2 次查看(过去 30 天)
parisa
parisa 2012-4-14
hello every body. i have 4 points and i want to draw a rectangular with these points, these points are not rectangular's corner, can u help me?? regards

回答(2 个)

Rick Rosson
Rick Rosson 2012-4-14
  1. Find the min and max of the x components.
  2. Find the min and max of the y components.
  3. Use these values to specify the four corners.
  4. Draw the rectangle.

Walter Roberson
Walter Roberson 2012-4-14
This is not generally possible.

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by