findLobes
Main, back, and side lobe data
Description
Examples
Find Lobes of Isotropic Antenna ULA
Create a 15-element ULA of isotropic antenna with elements spaced one-half wavelength apart. Plot the directivity of the array at 20 GHz. Then, find the mainlobe, sidelobe, and backlobe directions of the array pattern.
fc = 20.0e9; c = physconst('Lightspeed'); lam = c/fc; angs = [-180:1:180]; antenna = phased.IsotropicAntennaElement('FrequencyRange',[1.0e9,100.0e9]); array = phased.ULA('Element',antenna,'NumElements',15,'ElementSpacing',lam/2); a = pattern(array,fc,angs,0); P = polarpattern(angs,a);
L = findLobes(P)
L = struct with fields:
mainLobe: [1x1 struct]
backLobe: [1x1 struct]
sideLobes: [1x1 struct]
FB: 0
SLL: 0
HPBW: 8.0000
FNBW: 16.0000
FBIdx: [181 1]
SLLIdx: [181 361]
HPBWIdx: [357 5]
HPBWAng: [176 -176]
FNBWIdx: [173 189]
Find Lobes of Steered Isotropic Antenna ULA Patterns
Create a 15-element ULA of isotropic antenna with elements spaced one-half wavelength apart. Plot the directivity of the array at 20 GHz. Then steer the array to 45° azimuth and plot the directivity. Then, find the mainlobe, sidelobe, and backlobe directions of the array pattern.
fc = 20.0e9; c = physconst('Lightspeed'); lam = c/fc; angs = [-180:1:180]; antenna = phased.IsotropicAntennaElement('FrequencyRange',[1.0e9,100.0e9]); array = phased.ULA('Element',antenna,'NumElements',15,'ElementSpacing',lam/2); a = pattern(array,fc,angs,0); P = polarpattern(angs,a);
Steer the array to 45° azimuth and add the steered pattern to the polar plot.
steervec = phased.SteeringVector('SensorArray',array,'PropagationSpeed',c); sv = steervec(fc,[45;0]); a1 = pattern(array,fc,angs,0,'Weights',sv); add(P,angs,a1);
Find the lobes of the steered pattern.
L = findLobes(P,2); L.mainLobe
ans = struct with fields:
index: 226
magnitude: 11.7609
angle: 45
extent: [216 238]
Input Arguments
p
— Polar plot
polarpattern
object
Polar plot, specified as a polarpattern
(Antenna Toolbox) object. Set the
CleanData (Antenna Toolbox) property of polarpattern
to
1
to clean the pattern data by removing any
NaN
and Inf
values before running
findLobes
function on the data.
Example: polarpattern
index
— Index of data set
scalar
Index of data set, specified as a scalar.
Example: 1
Output Arguments
L
— Main,back, and side lobe data
structure
Main,back, and side lobe data, returned as a structure.
Data Types: struct
Version History
Introduced in R2016a
See Also
add
| addCursor
| animate
| createLabels
| replace
| showPeaksTable
| showSpan
MATLAB Command
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: .
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)