필터 지우기
필터 지우기

I need to create an array of trapezoids in a single line. I am new to matlab. Can anyone help me out?

조회 수: 3 (최근 30일)
I need to create an array of trapezoids in a single line. I am new to matlab. Can anyone help me out?
  댓글 수: 1
Chandan Bhuran
Chandan Bhuran 2015년 5월 28일
I need to create a 2d object in shape of a trapezium. Then I need to arrange them in an array. All of them parallel at a same angle with the horizontal.

댓글을 달려면 로그인하십시오.

답변 (1개)

Cindy Solomon
Cindy Solomon 2015년 5월 22일
Hi Chandon,
Could you clarify what you mean by a single line? (For example, do you just mean shapes that are adjacent to each other?) For drawing filled polygons of any shape, fill or patch are probably your best options. With "fill" in particular, you can specify a range of 2D filled areas by giving it additional input arguments, such as:
fill(X1, Y1, C1, X2, Y2, C2, ...)
Hope this helps!

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by