Surface fit in polar coordinates
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello,
I've looked elsewhere in the formum and although there are close topics I haven't quite found what I'm looking for.
I have a set of data matrices X,Y,Z. X,Y are a regular lattice of Cartesian coordinates, Z is a quantity of which I want to study the dependence on X and Y.
My data looks like in this example plot (contourf):
I want to fit these data to an antisymmetric function of the type
or symilar function, so that I'm able to remove the antisymmetric part from the data and guess/find higher harmonic contribution in ϕ, for example.
I know some fitting methods in matlab, but what would you use to best solve this case and why?
Thanks in advance!
댓글 수: 3
David Goodmanson
2018년 12월 21일
aha, I didn't realize you have a triangular lattice, which changes things
답변 (1개)
KSSV
2018년 12월 19일
Read about cart2pol ......you can convert your X, Y into r and phi...using this. LAter you can substitute this r and phi, into your function.
참고 항목
카테고리
Help Center 및 File Exchange에서 Bounding Regions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!