plotting energy as a function of angles

4 次查看(过去 30 天)
Hello,
Iam dealing with beamforming using 3D microphone array. I have a matrix M (360 x 501) containing the energies(in dB) of the signals emitted by sources placed at each degree from 1:360.
How can I plot these energies as function of azimuth angle (keeping elevation and radius constants to view the beam pattern in order to exactly localize the Angle of Arrival of the source (a main lobe at that particular angle)?
How can I relate angles to their corresponding energies and plot the beam pattern Energy vs Azimuth?
please help

回答(1 个)

Andrew Newell
Andrew Newell 2012-1-10
Sounds like you want a polar plot like polar or rose.
Example:
polar((1:360)'*pi/180,M(:,i))
or
rose((1:360)'*pi/180,M(:,i))
(Edited to correct mistake and add examples)
  2 个评论
zozo
zozo 2012-1-10
iam looking for a polar plot or normal plot Energy vs Angle. But iam unable to relate them
Andrew Newell
Andrew Newell 2012-1-10
Sorry, compass was a mistake - it expects Cartesian coordinates. I have added examples of the use of polar and rose.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Antennas, Microphones, and Sonar Transducers 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by