How to indicate the number of nodes and elements of mesh of PDE problem in command line? (the function pdeplot can't do this)

조회 수: 4 (최근 30일)
Now, I have set up a PDE model mesh in command line rather than GUI in PDE App. I want to indicate the number of nodes and elements of my mesh, I have try to use the function pdeplot and pdegplot but fail to indication! I know I can indicate the number of nodes and elements in PDE App if you generate your mesh in GUI manner in your App. but I would like to set completely up my PDE model in command line (using Code). So how can I get the indication of number of nodes and elemnts?

답변 (1개)

Ravi Kumar
Ravi Kumar 2019년 3월 19일
Try using:
pdemesh(modelM,'NodeLabels','on')
Does it not show labels of node for you?
  댓글 수: 3
Ravi Kumar
Ravi Kumar 2019년 3월 24일
You need newer version of MATLAB to plot note labels. Please upgrade to R2016b or newer.
Regards,
Ravi

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by