how to find the highest peak value of the mesh plot, and when we get it... how can we get the cross section at that highest peak, in which the plot will have 2 axies ,1)Z axis of the mesh plot 2) diagonal cross section of X and Y axis at highest peak
1 次查看(过去 30 天)
显示 更早的评论
How to find the highest peak value of the mesh plot?
And when we get it... how can we get the cross section of mesh plot in 2D at that highest peak?
The Plot should contain 2 axies ,1)Z axis of the mesh plot 2) diagonal cross section of X and Y axis at highest peak.
If anyone know it then please tell me asap.. thanks in advance...
I am attaching a fig here which we can take as an example
and the function of it is as below
[X,Y]=meshgrid(-2:0.25:2,-2:0.25:2); Z=Y*exp(-X.^2-Y.^2); figure surf(X,Y,Z)
thanks again.. please do reply if anyone know.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!