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