You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
N=2; % Try N=1, N=2, and N=3...seems you need at least N=2, and even N
electron=Species(N,L);
electron.qm=-1;
v0=zeros(1,N);
for i=1:N; v0(i)=(-1)^i; end % Toggle this between positive and negative 1, to get answer to problem...seems you need alternating phases to get oscillations.