Code covered by the BSD License  

Highlights from
RF Utilities V1.2

image thumbnail
from RF Utilities V1.2 by Neill Tucker
Routines for Smith Chart, TDR, Mixed-Mode S-params, Matching

exb4.m
% Broadband match example4
% Load=300 Ohm
% Line=50 Ohm
% Number of sections N=7
%
% Transformer lengths = lambda/4
% Fo=1000 Mhz
% Plot 1 to 2000 MHz

clc;
close all;
help exb4

Zload=300;  % Load impedance, to matched (Ohms)
Zo=50;      % Characteristic impedance to match to (Ohms)
Fo=1000;    % Centre frequency (MHz)
F1=1;       % Start frequency for response plot (MHz)
F2=2000;    % Stop frequency for response plot (MHz)
Tlen=0.25;  % Transformer length as a fraction of wavelength
N=7;        % Number of transformer sections
Er=3.48;    % Dielectric constant for microstrip
d=1.52;     % Thickness of substrate (mm)

Zlist=bmatch(Zo,Zload,N);
bplot(Zlist,Tlen,Fo,F1,F2);
axis([0 F2 -50 0]);
filename=setfname;
bphysical(Zlist,Tlen,Fo,Er,d,filename);

Contact us at files@mathworks.com