sa_ex2_13.m

来自「这个是英文版<<Smart Antennas for Wireles」· M 代码 · 共 25 行

M
25
字号
%  General envelope of standing wave for planewaves 
% normally incident on a planar boundary .  Medium 1 is assumed to be free space
% medium 2 is specified by the user
%       Frank B. Gross
%       Electrical and Computer Engineering
%       2525 Pottsdamer St.
%       Tallahassee, Florida  32310
%       (850) 410-6410
%           Date:  10/08/02


imp=input('Normalized impedance of medium 2=');
G=(imp-1)/(imp+1);
angg=atan2(imag(G),real(G));
bz=-4*pi:.001:0;

figure;
env=sqrt(1+abs(G)^2+2*abs(G)*cos(2*bz+angg));
plot(bz,env,'k')
axis([-4*pi 0 0 1.5])
xlabel('\betaz')
ylabel('|E_1|')
grid on

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?