design
Description
designs a hairpin filter around the specified frequency.hpfilter
= design(hpfilterobj
,frequency
)
designs a hairpin filter with additional options specified by name-value arguments.hpfilter
= design(___,Name=Value
)
Note
PCB components designed using the design
function
operate around the specified frequency with a 10-15% tolerance.
Examples
Design Chebyshev Hairpin Filter at 1.8 GHz
Design a Hairpin filter with a Chebyshev response at 1.8 GHz and a fractional bandwidth of 10 percent.
hpfilt = design(filterHairpin,1.8e9,FBW=10,FilterType='Chebyshev');
show(hpfilt);
Design Fifth Order Hairpin Filter
Design a 5th order tapped input hairpin filter with a Chebyshev response at 1.8 GHz and a fractional bandwidth of 10 percent.
hpfilt = filterHairpin(FeedType='Tapped')
hpfilt = filterHairpin with properties: Resonator: [1x1 ubendRightAngle] FilterOrder: 3 ResonatorOffset: [0 0 0] Spacing: [4.0000e-04 4.0000e-04] PortLineLength: 0.0080 PortLineWidth: 0.0050 FeedOffset: [-0.0055 -0.0055] FeedType: 'Tapped' Height: 0.0016 GroundPlaneWidth: 0.0567 Substrate: [1x1 dielectric] Conductor: [1x1 metal] IsShielded: 0
hpfilt.FilterOrder = 5;
hpfilt = design(hpfilt, 1.8e9,FBW=10,FilterType='Chebyshev');
View the filter.
show(hpfilt);
Input Arguments
hpfilterobj
— Hairpin filter
filterHairpin
object
Hairpin filter, specified as a filterHairpin
object.
Example: hpfilterobj = filterHairpin;
design(hpfilterobj,2e9)
designs a hairpin filter around a
frequency of 2 GHz.
frequency
— Design frequency of hairpin filter
real positive scalar
Design frequency of the hairpin filter, specified as a real positive scalar in hertz.
Example: 5e9
Data Types: double
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Example: RippleFactor=0.02
FilterType
— Type of filter
'Butterworth'
(default) | positive scalar
Type of filter, specified as 'Butterworth'
, or
'Chebyshev'
.
Data Types: char
| string
RippleFactor
— Passband factor of Chebyshev filter
0.01
(default) | positive scalar
Passband factor of the Chebyshev filter, specified as positive scalar in decibels. For Butterworth filter, the passband factor is not required.
Data Types: double
Output Arguments
hpfilter
— Hairpin filter operating around specified frequency
filterHairpin
object
Hairpin filter operating around the specified frequency, returned as a
filterHairpin
object.
Version History
Introduced in R2021b
See Also
Ouvrir l'exemple
Vous possédez une version modifiée de cet exemple. Souhaitez-vous ouvrir cet exemple avec vos modifications ?
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
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: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)