I have two triangular meshes over a given 2-D domain. The goal is to combine these meshes and create a third triangular mesh such that it contains all edge and node information of the initial meshes. The following image is a pictorial presentation of what I am looking for:
I am looking for a Matlab code to do this. I have searched a lot, but what I have found seems to be different.