mustripz0.m

来自「用matlab中的m文件和Simulik实现rf的经典例子!」· M 代码 · 共 17 行

M
17
字号
% MUSTRIPZ0  Calculate the characteristic impedance of a microstrip line
% 
%    [Z0] = MUSTRIPZ0 (EpsR, WbyD) 
%      EpsR is the relative dielectric constant
%      WbyD is the ratio of the width to the distance to the ground plane
%      

function [Z0] = MUSTRIPZ0 (EpsR, WbyD) 

EpsEff = (EpsR + 1)/2 + (EpsR - 1)/2*1/sqrt(1 + 12/WbyD);

if (WbyD < 1),
  Z0 = 60/sqrt(EpsEff)*log(8/WbyD + WbyD/4);
else
  Z0 = 120*pi/sqrt(EpsEff)/(WbyD + 1.393 + 0.667*log(WbyD + 1.444));
end;

⌨️ 快捷键说明

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