MATLAB: How to just get the corner points in the 3D model?(PDE Toolbox)

facenodespdepde toolboxpoints

Hi everyone!
when I use the syntax "findNodes(mesh,'region','face',18)", I get the corner points and the middle points. So How can I just get the corner points?
Any help would be appreciated.
Thanks

Best Answer

Hi Haoran,
It looks like you are interested in nodes that form the triangle element corners and not the midside nodes. Two options:
  1. You can generate a linear mesh, if you don't need quadratic accuracy.
  2. You can pick the first three of the six rows in the output.
Regards,
Ravi