models an omnidirectional microphone with an equal response in all
To compute the response of the microphone element for specified directions:
Define and set up your omnidirectional microphone element. See Construction.
estimate the microphone response according to the properties of
The behavior of
step is specific to each object in
Starting in R2016b, instead of using the
H = phased.OmnidirectionalMicrophoneElement creates
an omnidirectional microphone system object,
that models an omnidirectional microphone element whose response is
1 in all directions.
H = phased.OmnidirectionalMicrophoneElement( creates
an omnidirectional microphone object,
each specified property set to the specified value. You can specify
additional name-value pair arguments in any order as (
Operating frequency range
Specify the operating frequency range (in Hz) of the microphone
element as a 1x2 row vector in the form of
Baffle the back of microphone element
Set this property to
When the value of this property is
|directivity||Directivity of omnidirectional microphone element|
|pattern||Plot omnidirectional microphone element directivity and patterns|
|patternAzimuth||Plot omnidirectional microphone element directivity or pattern versus azimuth|
|patternElevation||Plot omnidirectional microphone element directivity or pattern versus elevation|
|plotResponse||Plot response pattern of microphone|
|step||Output response of microphone|
|Common to All System Objects|
Create System object with same property values
Expected number of inputs to a System object
Expected number of outputs of a System object
Check locked states of a System object (logical)
Allow System object property value changes
Create an omnidirectional microphone. Find the microphone response at 200, 300, and 400 Hz for the incident angle 0° azimuth and 0° elevation. Then, plot the azimuth response of the microphone at three frequencies.
microphone = phased.OmnidirectionalMicrophoneElement(... 'FrequencyRange',[20 2e3]); fc = [200 300 400]; ang = [0;0]; resp = microphone(fc,ang);
Plot the response pattern. Response patterns for all three frequencies are the same.
Usage notes and limitations:
plotResponse methods are not supported.
See System Objects in MATLAB Code Generation (MATLAB Coder).