How to do a circle with triangular mesh?

Answers (2)

KSSV
KSSV on 14 Mar 2022

9 Comments

Thank you for your message. The file you gave shows an error result. Based on the image, it generates a quadrilateral mesh. I need to have a triangular mesh.
Yes, it gives quadrilateral mesh. So you have the points (x,y) from this mesh. On these use delaunayTriangulation to get triangular mesh.
I tried to run the codes but it shows error results. And, I don't know where to apply delaunay triangulation.
What error you got when you try to run?
I got an error result on each of the 3 scripts.
Try:
MeshCircle([0 0],1,50,10) ;
It resulted to this.
Is there another way of doing it, more easy? I think I will not able to explain the code properly to my mentor.
No, there is no easier way. Every available method requires that you understand how to pass parameters to a function. The [0,0] and so on that KSSV showed are not just decorative!
Thank you so much! I just saw this and your comment is extremely helpful.

Sign in to comment.

Asked:

on 14 Mar 2022

Commented:

on 6 Jul 2022

Community Treasure Hunt

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

Start Hunting!