From 73d57d7399b2e791c3ba32f19a7f58040c39259a Mon Sep 17 00:00:00 2001 From: bma Date: Tue, 24 Apr 2018 11:33:51 +0200 Subject: [PATCH] start from {J0,J1} --- PM/pm_vs_besselj.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))) -- 2.16.4