Matlab 3D graphing (graph slicing)?
Afficher commentaires plus anciens
How can I "plot the function d=x*y*e^(-sqrt(x^2+y^2+x^2)) along the x=y diagonal"? Do I use the "contourslice" command? How? Thanks.
1 commentaire
Patrick Kalita
le 29 Jan 2013
Did you mean d=x*y*e^(-sqrt(x^2+y^2+z^2))? Your original question has two x^2 terms in the sqrt.
Réponses (1)
Azzi Abdelmalek
le 27 Jan 2013
X=1:10
y=x
z=cos(x+y) % use your function
Plot3(x,y,z)
Catégories
En savoir plus sur 2-D and 3-D 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!