What would be the equation of the following surface?

조회 수: 4 (최근 30일)
Aravind Varma Dantuluri
Aravind Varma Dantuluri 2024년 3월 12일
댓글: Aravind Varma Dantuluri 2024년 3월 12일
I have the raw data of X, Y, Z, where X and Y are inputs and Z is the output. Plotting the surface gives the following surface (screenshot shown from different angles for clarity):
Any ideas what could be the rough equation of this surface? I don't know any function which has 2 "humps". The 2D equation need not be exact. I can find the coefficients of the equation using least squares curve fitting.

채택된 답변

Image Analyst
Image Analyst 2024년 3월 12일
One assumption might be that it's the sum of two Gaussians, like
z = a1 * exp(-( (x-xctr1).^2 + (y-yctr1).^2) / sigma1) + a2 * exp(-( (x-xctr2).^2 + (y-yctr2).^2) / sigma2)
or something like that.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by