is it possible to create iregulary shaped mesh grid?

조회 수: 7 (최근 30일)
Dany
Dany 2013년 9월 8일
Hello, is it possible to creat a non-rectangular mesh grid? lets say i have point that are aranged in a circle or any other shape for that mather. can i make a grid only on the inside of that figure? it could be triangulation based mesh as well.
thank you for your help.

답변 (1개)

Image Analyst
Image Analyst 2013년 9월 8일
You can use pcolor() or just put your values inside a disc of a 2D matrix.
  댓글 수: 2
Dany
Dany 2013년 9월 8일
the "circle" was only an example. i want to creat a grid in order to be able to perform some calculations.
your solution will not help me. thanx anyway.
Image Analyst
Image Analyst 2013년 9월 8일
It's done all the time in image processing. We always have irregularly shaped regions of interest, called ROIs or masks, and we process just inside the mask. The matrix is rectangular but the regions inside can be any shape whatsoever.

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

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by