How to draw a surface starting from a 3 column vector X, Y, Z with no regular grid on X, Y ?

1 回表示 (過去 30 日間)
Dear matlab users,
I have a file out from a fiit element software (ANSYS) which simulats the static distorsion of a metallic plate due to its own weight.
the file gives 3 columns, X, Y, Z
The coordinates X and Y scan the plate surface according to the mesh generated by the ANSYS software. There is no specific structure which would allow to use meshgrid function or so. X and Y are set arbitrarilly.
How is it possible to plot the surface Z associated to the coordinates X,Y?
How is it possible to get an interpolation of such a surface on a regular grid so I can make some analysis with standard tools?
Many thanks for your comments
Cheers
Frederic

採用された回答

Frederic Cleva
Frederic Cleva 2021 年 11 月 8 日
Hum, it seems F = scatteredInterpolant(Y,Z,dX) makes the job...
Sorry for the trouble
Cheers,
Frederic

その他の回答 (1 件)

Chris
Chris 2021 年 11 月 8 日
編集済み: Chris 2021 年 11 月 8 日
Another useful function is griddata

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by