How to convert XYZ coordinate into nodes (like Xi, Yj) on the grid curve surface?

조회 수: 5 (최근 30일)
Hello everyone
I would like to get some help from people in this community here.
Now I have FE data as XYZ coordinates (fig1). This data is from retangular meshing of curve surface. It will be used to calculate for "central different method" as formula in fig2.
As I understand, I should to convert all nodes into Xi, Yj (fig 3). Then, I can calculate as equation above. For now, I have no idea how to convert it. I have searched the code or the related examples a lot,but I could not find.
Does anyone advise me how to solve it?
Thank you in advance
Panida

답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2022년 11월 28일
Are you looking for something like this:
HTH
  댓글 수: 2
Panida Kaewniam
Panida Kaewniam 2022년 11월 28일
Thank you for promt response.
It looks similar what I am looking for. But the xy2sn needs to find centerline of X and Y ( the XY data from the function). My data is not from any function, It is along geometry. Is there another solution?
Bjorn Gustavsson
Bjorn Gustavsson 2022년 11월 28일
Well if that doesnt suit you, perhaps any of the triangularization-based tools on the FEX could be used or adapted: trigradient2, trigradient or gradient-for-scattered-data.
HTH

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

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by