From: Tony Joshephini on
Dear all,

I would like to generate a mesh included in a triangle ( meshgrid will generate a rectangular domain). I have attached a picture for you to visualize what I am aiming at. ( oops nevermind, I apparently cannot attach a file .( Well imagine a triangle with nodes uniformly distributed inside the triangle in every direction)

Is there any in-built MATLAB function who can alleviate the work of defining the axis of each side and impose a limitation of the coordinates ? Thank you