What would be the equation of the following surface?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
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 Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!