What would be the equation of the following surface?
1 view (last 30 days)
Show older comments
Aravind Varma Dantuluri
on 12 Mar 2024
Commented: Aravind Varma Dantuluri
on 12 Mar 2024
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):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1640391/image.png)
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.
0 Comments
Accepted Answer
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)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!