필터 지우기
필터 지우기

boundingbox

조회 수: 1 (최근 30일)
parisa
parisa 2012년 4월 15일
Hi i have a robot with n manipulators, i want to draw a bounding box around it, can u help me please, thanks in advance

답변 (1개)

Image Analyst
Image Analyst 2012년 4월 15일
Try
plot([x1 x2 x2 x1 x1], [y1 y1 y2 y2 y1], 'r-', 'LineWidth', 3);
where x1 is the left edge, x2 is the right edge, y1 is the bottom and y2 is the top. Or you could do it with 4 calls to line().

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by