How to define a circular aperture of the antenna.
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi, I need to calculate a radiation pattern of the circular antenna with a radius of 5λ. For simplicity lets λ=1. For my mission I need to define a radius of the antenna, an azimuth angle (phi) and the cartesian coordinates. of the antenna (x,y) . I'm not sure what is the correct way to do it.
Like this:
a=5; % radius of the antenna
rho=linspace(0,a,10);
phi=linspace(0,2*pi,10);
[Rho,Phi]=meshgrid(rho,phi);
[X,Y] = pol2cart(Phi,Rho);
Or maybe like this?
a=5; % radius of the antenna
rho=linspace(0,a,10);
phi=linspace(0,2*pi,10);
x=rho.*cos(phi);
y=rho.*sin(phi);
[X1,Y1]=meshgrid(x,y);
[Rho,Phi]=meshgrid(rho,phi);
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!