How to extract nodal coordinates in pdetool?

16 views (last 30 days)
mathru
mathru on 14 Apr 2021
Answered: Pratyush Roy on 27 Apr 2021
Hi,
How can I extract coordinates (x and y) of nodes along an edge in pde?

Answers (1)

Pratyush Roy
Pratyush Roy on 27 Apr 2021
Hi,
You can refer to the following link:
The Nodes property of the FEMesh object stores the co-ordinates of the nodes as a 2*N matrix, where the first row refers to the x-coordinates and the second row refers to the y-coordinates of the nodes.
Hope this helps!

Community Treasure Hunt

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

Start Hunting!