马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
我想计算I=A(x)*A(x)的极值点,先显示一下它的曲线分布,其中A(x)表达式见附件
clc
s=7;
N=[2 2 3 4 5 6 9];
R=[0,0.8400,1,0,0,0,0,0,0,0;
0,0.5700,1,0,0,0,0,0,0,0;
0,0.2400,0.6400,1,0,0,0,0,0,0;
0,0.2178,0.3922,0.7194,1,0,0,0,0,0;
0,0.1546,0.3394,0.4880,0.7594,1,0,0,0,0;
0,0.1410,0.2670,0.4250,0.5530,0.7870,1,0,0,0;
0,0.0962,0.1936,0.2894,0.3904,0.4854,0.5966,0.6844,0.8856,1];
syms x
for k=1:N(s)+1
Amedium_k=(1-exp(i*pi))*(-1)^(N(s)+1)*(-1)^k*2*R(s,k)*besselj(1,(R(s,k)*x))/x;
Amedium=Amedium+Amedium_k;
end;
A=2*besselj(1,x)/x;
A=A-Amedium
I=abs(A)^2;
plot(x,I) |