Borrar filtros
Borrar filtros

is it possible to create iregulary shaped mesh grid?

4 visualizaciones (últimos 30 días)
Dany
Dany el 8 de Sept. de 2013
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.

Respuestas (1)

Image Analyst
Image Analyst el 8 de Sept. de 2013
You can use pcolor() or just put your values inside a disc of a 2D matrix.
  2 comentarios
Dany
Dany el 8 de Sept. de 2013
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 el 8 de Sept. de 2013
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by