3d radiation pattern matlab
use the plot3 function but your inputs should be proper.
as u know the pattern of an antenna is in spherical coordination, somthing like r=f(teta,phi)
first of all define variables teta and phi as vectors with fine grids (but not too much length). then calculate r=f(teta,phi).
then u can define x=rsin(teta)cos(phi), y=rsin(teta)sin(phi) and z=rcos(teta) .
finally use surf(x,y,z) to plot the 3-D pattern
Hi,
I think you may have a problem with that, since Matlab hasn't 3D polar plot instruction.
However I use a spherical triangular grid (either imported as ASCII from any 3D graphing tool, or generated manually) then use PATCH3 instruction to plot the triangles with the color being proportional to the radiation intensity (or gain in that direction).
Here is a simple code for the grid
philist = [];
thetalist = [];
for phi = linspace(0,2*pi,10)
for theta = linspace(0,pi,10)
philist = [philist phi];
thetalist = [thetalist theta];
end
end
R = 1;
X = R * sin(theta) .* cos(phi);
Y = R * sin(theta) .* sin(phi);
Z = R * cos(theta);
C = theta .* phi; % the radiation pattern function of theta and phi
surf(x,y,z,c);
the above program may have a few bugs but you got the idea.
radiation pattern matlab 相关文章:
- Radiation pattern of an inverted F antenna IFA
- Real time plotting of radiation pattern using matlab
- Spurious radiation and surface waves in MSP Antenna
- Antenna Radiation pattern multi-lobed and directional with increase in ground plane!
- Improving radiation performance by using a mutual coupled antenna
- Radiation Pattern Check
