How to plot a beam pattern with Simulink?

25 views (last 30 days)
dabe
dabe on 6 Mar 2023
Edited: dabe on 10 Mar 2023
Hello,
I would like to simulate a differential microphone array using Simulink. One way to verify that it is working correctly is to use a beam pattern. Is it possible to use a Simulink block to draw this kind of pattern? If so, how?
Many thanks in advance!
Best Regards,
Daniel

Answers (1)

Harsh
Harsh on 10 Mar 2023
Hello Daniel,
Unfortunately, there is no block available to visualize the beam/radiation pattern in Simulink.
However, you can achieve the goal of plotting beam pattern through MATLAB command line using the function called "pattern".
For more details about the usage of this function, you may refer to the following documentation link: https://in.mathworks.com/help/phased/ref/phased.ula.pattern.html
Also, if it helps, the below example demonstrates the usage of pattern function for differential microphone array simulation. https://in.mathworks.com/help/phased/ug/introduction-to-differential-beamforming.html
Thanks,
Harsh
  1 Comment
dabe
dabe on 10 Mar 2023
Edited: dabe on 10 Mar 2023
Hello Harsh,
thank you very much for your answer. This information and the links are very helpful.
Do you think it would work to insert the block as a matlab function? Could you please show me in the attached simulink project where I can best insert the pattern function as well as what kind of input signal you suggest to use?
Thanks,
Daniel

Sign in to comment.

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!