⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 z2g.m

📁 matlab 天线和电磁分析工具箱 matlab electromagnetic and anntena
💻 M
字号:
% z2g.m - impedance to reflection coefficient transformation
%
% Usage: Gamma = z2g(Z,Z0)
%        Gamma = z2g(Z)     (equivalent to Z0=1, i.e., normalized impedances)
%
% Z  = vector of impedances
% Z0 = line impedance
%
% Gamma = vector of reflection coefficients

% S. J.  Orfanidis - 1999 - www.ece.rutgers.edu/~orfanidi/ewa

function Gamma = z2g(Z,Z0)

if nargin==0, help z2g; return; end
if nargin==1, Z0=1; end

Gamma = ones(size(Z));                  % Gamma=1 when Z=Inf

i = find(Z ~= Inf);                     % Gamma for Z not equal to Inf
Gamma(i) = (Z(i)-Z0)./(Z(i)+Z0);


⌨️ 快捷键说明

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