Get the Isocline from a know levelset plot (Contours) and the function output (Height)
Afficher commentaires plus anciens
I was checking the function fcontour that we can use to get the contours like the following one.
I took the given example:
f = @(x,y) exp(-(x/3).^2-(y/3).^2) + exp(-(x+2).^2-(y+2).^2);
fc = fcontour(f)

- Now, I would like to see the heights of each contour.
- Suppose I have the height value, how do I get the points that belong the contour that corresponds to the height.
Regards...
3 commentaires
point 1 : this is in the doc - see code again below (how to plot the isocline value)
point 2 : it's unclear - by definition the isocline is the ensemble of points having same given height
x = -2:0.2:2;
y = -2:0.2:3;
[X,Y] = meshgrid(x,y);
Z = X.*exp(-X.^2-Y.^2);
contour(X,Y,Z,'ShowText','on')
Prasanna Routray
le 25 Avr 2024
Mathieu NOE
le 25 Avr 2024
see my answer
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


