meshing a surface in pdetools

Hi all
I want to triangular meshing surface z=f(x,y) -that the function of f(x,y) created with a Mfile, and it isn't predefined- in pdetools and automaticaly save it's data.How can I do that?
in fact,I want to automaticaly import f(x,y) to pdetool and then automaticaly save it's data.

1 件のコメント

rahman
rahman 2011 年 8 月 14 日
can I do that in a Mfile ? (meshing surface z=f(x,y) using pdetool in Mfile )

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 8 月 14 日

0 投票

You can
h = findobj(gcf, 'type', 'surface');
and then
xd = get(h, 'XData');
yd = get(h, 'YData');
zd = get(h, 'ZData');
and then save xd, yd, and zd in a file such as by using save()

1 件のコメント

rahman
rahman 2011 年 8 月 14 日
where triangular meshing is done ?!!

サインインしてコメントする。

カテゴリ

質問済み:

2011 年 8 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by