A basic polar plot tool in dB linear scale

polar_dB makes a plot of gain=10*log10(g) versus polar angles phi
4,5K Descargas
Actualizado 25 ene 2010

Ver licencia

Hi everyone,
this is a basic polar plot tool in dB , you can change the range which can be very helpful for analyze the nature of your pattern.

Here is a test code:

%------------------------
% Linear Arrays of Isotropic Elements
const=1; lambda=1; k=2*pi/lambda;
theta=linspace(0,2*pi,200);
d=1/1*lambda; % distance between the elements
I=ones(1,5); %Identical elements
AF=zeros(1,length(theta));

%Array factor (rotational symmetry)
for n=1:length(I)
AF=AF+abs(I(n))*exp(1i*(n-1)*k*d*cos(theta));
end

AF=AF/max(AF); %normal
f1=figure();
set(f1,'Name','Simulation Plot for Linear Arrays of Isotropic Elements ')
rangedb = 15; increments =3; rays = 12;
h=polar_dB(theta,AF,rangedb,increments,rays);
%------------------------

Citar como

Hakan Cakmak (2026). A basic polar plot tool in dB linear scale (https://la.mathworks.com/matlabcentral/fileexchange/26476-a-basic-polar-plot-tool-in-db-linear-scale), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Polar Plots en Help Center y MATLAB Answers.
Versión Publicado Notas de la versión
1.0.0.0