unitEle = insertUnitElement(cktIn,cktElem,elePort,opFreq,Z0)
inserts a new circuit with unit element unitEle into a circuit object
cktIn at a given reference frequency opFreq and
characteristic impedance Z0. The cktElem and
elePort together determine the position of insertion of the unit
element.
Create a lowpass LC-Pi Chebyshev filter with a passband frequency of 1 GHz, a passband attenuation of 0.5 dB, and a filter order of 5.
Fp = 1e9;
Ap = 0.5;
Ord = 5;
r = rffilter(FilterType="Chebyshev",ResponseType="Lowpass",Implementation="LC Pi",PassbandFrequency= ...
Fp,PassbandAttenuation=Ap,FilterOrder=Ord);
Convert the lumped elements of the RF filter to a distributed element using Richards' transformation.
Insert a unit element at the edges of the circuit ri and the first circuit element C_tx at port 1, which operates at 1 GHz and has a characteristic impedance of 50 ohms.
Insert a unit element at the edges of the circuit unitEle and the last circuit element C_2_tx at port 2, which operates at 1 GHz and has a characteristic impedance of 50 ohms.
RF circuit object, specified as a circuit object. Before
inserting the unit element you must first apply Richards' transformation.
Circuit element, specified as an index in the circuit or element names. The function
inserts the unit element in a port of the circuit element you specify.
Port number of the circuit element for inserting the unit element, specified as a
positive scalar.
Operating frequency at which the unit element is defined with LineLength =
pi/4 radians, specified as a positive scalar.
Characteristic impedance of the unit element, specified as a positive scalar.
Unit element, returned as a cktIn object. The output is a
circuit similar to cktIn, but with a unit element inserted.
The unit element is placed at the port elePort of the element
of the circuit, cktElem. If cktElem is empty,
0 or numel(INOBJ.Elements)+1, the unit element
is inserted at a port of the circuit cktIn itself.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.