What would be the equation of the following surface?

1 view (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 12 Mar 2024
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.

More Answers (0)

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!