matlab动画
t=0:pi/50:2.5*pi;electron_x=30*cos(t);electron_y=30*sin(t);electron_z=0*t;n=numel(t);nucleus=2;electron=-1;K0=8.98755e9;[X,Y,Z]=meshgrid(-52:2:52,-39:2:39,-39:2:39);[sx,sy,sz]=meshgrid(linspace(20,-20,5),linspace(12,-12,4),...linspace(12,-12,4));[x0,y0,z0]=sphere(40);fork=1:n;clfr1=sqrt(X.^2+Y.^2+Z.^2);r
用户评论