Clear Filters
Clear Filters

draw rectangular

2 views (last 30 days)
parisa
parisa on 14 Apr 2012
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

Answers (2)

Rick Rosson
Rick Rosson on 14 Apr 2012
  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 on 14 Apr 2012
This is not generally possible.

Community Treasure Hunt

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

Start Hunting!