Matlab 3D graphing (graph slicing)?

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

Patrick Kalita
Patrick Kalita 2013년 1월 29일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 1월 27일

0 개 추천

X=1:10
y=x
z=cos(x+y) % use your function
Plot3(x,y,z)

카테고리

질문:

M
M
2013년 1월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by