Ta上传的资源 (0)

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:

function[XK]=DFT(xn)N=length(xn);n=0:1:N-1;k=0:1:N-1;WN=exp(-1j*2*pi/N);nk=n'*k;WNnk=WN^nk;XK=xn*WNnk;end