diff --git a/PM/pm_vs_besselj.m b/PM/pm_vs_besselj.m index eb4718d..726025b 100644 --- a/PM/pm_vs_besselj.m +++ b/PM/pm_vs_besselj.m @@ -9,11 +9,11 @@ set(0, 'defaultlinelinewidth', 5); phi = [0:0.01:1]*2*pi; m = 1; -for n = 2:N +for n = 1:N freqs = -n:n; amp = besselj(freqs, m); plot(phi, abs(sum(amp'.*exp(1i.*phi.*freqs')))) hold on end -legend(strsplit(num2str(2:N))) +legend(strsplit(num2str(1:N)))