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

Andrew Newell
Andrew Newell 2012년 1월 10일

0 개 추천

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터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