Main Content

Microphone ULA Array

This example shows how to construct and visualize a four-element ULA with custom cardioid microphone elements. Specify the polar pattern frequencies as 500 and 1000 Hz.

Create a microphone element with a cardioid response pattern. Use the default values of the FrequencyVector property.

freq = [500 1000];
microphone = phased.CustomMicrophoneElement(...
microphone.PolarPattern= mag2db([...

Plot the polar pattern of the microphone at 0.5 kHz and 1 kHz.



Construct a ULA of custom microphone elements.

array = phased.ULA('NumElements',4,'ElementSpacing',0.5,...

Plot the response of the array at 0.5 kHz and 1 kHz.