Commit 73d57d7399b2e791c3ba32f19a7f58040c39259a
1 parent
01f7800107
Exists in
master
start from {J0,J1}
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
PM/pm_vs_besselj.m
... | ... | @@ -9,12 +9,12 @@ |
9 | 9 | phi = [0:0.01:1]*2*pi; |
10 | 10 | m = 1; |
11 | 11 | |
12 | -for n = 2:N | |
12 | +for n = 1:N | |
13 | 13 | freqs = -n:n; |
14 | 14 | amp = besselj(freqs, m); |
15 | 15 | plot(phi, abs(sum(amp'.*exp(1i.*phi.*freqs')))) |
16 | 16 | hold on |
17 | 17 | end |
18 | 18 | |
19 | -legend(strsplit(num2str(2:N))) | |
19 | +legend(strsplit(num2str(1:N))) |