System object: phased.CustomMicrophoneElement
Plot custom microphone element directivity or pattern versus azimuth
PAT = patternAzimuth(___)
the 2-D element directivity pattern versus azimuth (in dBi) for the
sElem at zero degrees elevation angle.
FREQ specifies the operating frequency.
in addition, plots the 2-D element directivity pattern versus azimuth
(in dBi) at the elevation angle specified by
EL is a vector, multiple overlaid plots
the element pattern.
PAT = patternAzimuth(___)
PAT is a matrix whose entries
represent the pattern at corresponding sampling points specified by
'Azimuth' parameter and the
sElem— Custom microphone element
Custom microphone element, specified as a
sElem = phased.CustomMicrophoneElement;
comma-separated pairs of
the argument name and
Value is the corresponding value.
Name must appear inside quotes. You can specify several name and value
pair arguments in any order as
Plot the azimuth directivity pattern of a custom cardioid microphone at both 0 and 30 degrees elevation.
Create a custom microphone element with a cardioid pattern.
sCustMike = phased.CustomMicrophoneElement; sCustMike.PolarPatternFrequencies = [500 1000]; sCustMike.PolarPattern = mag2db([... 0.5+0.5*cosd(sCustMike.PolarPatternAngles);... 0.6+0.4*cosd(sCustMike.PolarPatternAngles)]);
Plot the directivity at 500 Hz.
fc = 500; patternAzimuth(sCustMike,fc,[0 30])
Plot the directivity for a reduced range of azimuth angles using the
Azimuth parameter. Notice the change in scale.
fc = 500; patternAzimuth(sCustMike,fc,[0 30],... 'Azimuth',[-40:.1:40])
Directivity describes the directionality of the radiation pattern of a sensor element or array of sensor elements.
Higher directivity is desired when you want to transmit more radiation in a specific direction. Directivity is the ratio of the transmitted radiant intensity in a specified direction to the radiant intensity transmitted by an isotropic radiator with the same total transmitted power
where Urad(θ,φ) is the radiant intensity of a transmitter in the direction (θ,φ) and Ptotal is the total power transmitted by an isotropic radiator. For a receiving element or array, directivity measures the sensitivity toward radiation arriving from a specific direction. The principle of reciprocity shows that the directivity of an element or array used for reception equals the directivity of the same element or array used for transmission. When converted to decibels, the directivity is denoted as dBi. For information on directivity, read the notes on Element Directivity and Array Directivity.
Computing directivity requires integrating the far-field transmitted radiant intensity over all directions in space to obtain the total transmitted power. There is a difference between how that integration is performed when Antenna Toolbox™ antennas are used in a phased array and when Phased Array System Toolbox™ antennas are used. When an array contains Antenna Toolbox antennas, the directivity computation is performed using a triangular mesh created from 500 regularly spaced points over a sphere. For Phased Array System Toolbox antennas, the integration uses a uniform rectangular mesh of points spaced 1° apart in azimuth and elevation over a sphere. There may be significant differences in computed directivity, especially for large arrays.