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 CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by