models an omnidirectional microphone with an equal response in all
To compute the response of the microphone element for specified directions:
Starting in R2016b, instead of using the
to perform the operation defined by the System object™, you can
call the object with arguments, as if it were a function. For example,
= step(obj,x) and
y = obj(x) perform
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
Compute and display beamwidth of sensor element pattern
Directivity of omnidirectional microphone element
Plot omnidirectional microphone element directivity and patterns
Plot omnidirectional microphone element directivity or pattern versus azimuth
Plot omnidirectional microphone element directivity or pattern versus elevation
Plot response pattern of microphone
Output response of microphone
|Common to All System Objects|
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).