plotting energy as a function of angles

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 个)

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 个评论

iam looking for a polar plot or normal plot Energy vs Angle. But iam unable to relate them
Sorry, compass was a mistake - it expects Cartesian coordinates. I have added examples of the use of polar and rose.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Polar Plots 的更多信息

提问:

2012-1-10

Community Treasure Hunt

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

Start Hunting!

Translated by