- #1
Scientist94
- 10
- 0
Hi guys
I've been having some trouble plotting the p(x) and d(xy) atomic orbitals on Matlab.
I have been given that p(x) = x*e^-(x^2 + y^2 + z^2)^0.5
and d(xy) = x*y*e^-(x^2 + y^2 x^2)^0.5
Now I want to plot these orbitals on MATLAB using mesh or the surf command and then plot the corresponding contour plots with the contour command. Now the first stage is to just plot them on the xy plane setting z=0 (as a function of x and y) f(x,y).
Can anyone offer some advice on this?
Thanks
I've been having some trouble plotting the p(x) and d(xy) atomic orbitals on Matlab.
I have been given that p(x) = x*e^-(x^2 + y^2 + z^2)^0.5
and d(xy) = x*y*e^-(x^2 + y^2 x^2)^0.5
Now I want to plot these orbitals on MATLAB using mesh or the surf command and then plot the corresponding contour plots with the contour command. Now the first stage is to just plot them on the xy plane setting z=0 (as a function of x and y) f(x,y).
Can anyone offer some advice on this?
Thanks