plotting energy as a function of angles

2 ビュー (過去 30 日間)
zozo
zozo 2012 年 1 月 10 日
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 件のコメント
Walter Roberson
Walter Roberson 2012 年 1 月 11 日
Please do not use people's names as tags.

サインインしてコメントする。

回答 (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.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by