Documentation Center

  • Trial Software
  • Product Updates

Microphone Array

This example shows how to construct and visualize a four-element ULA with custom cardioid microphone elements.

Create a microphone element with a cardioid response pattern. Use the default FrequencyVector of [20 20e3]. Specify the polar pattern frequencies as [500 1000].

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

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


Assign the custom microphone element as the Element property of a phased.ULA object.

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

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


Was this topic helpful?