how to design a microstrip patch antenna using matlab ?

c = 3*10^8;
m = 1;
n = 1;
pp = 1;
E = 12.8;
a = 10*10^-3:0.1*10^-3:30*10^-3;
b = 10*10^-3;
d = 10*10^-3;
f = zeros(1,length(a));
for i=1:length(a)
f(i) = c/(2*pi)*sqrt(E)*sqrt(((m*pi)/a(i))^2+(n*pi/b)^2+(pp*pi/(2*d))^2);
end
a1 = 10*10^-3;
b1 = 10*10^-3:0.1*10^-3:30*10^-3;
d1 = 10*10^-3;
f1 = zeros(1,length(b1));
for k=1:length(b1)
f1(k) = c/(2*pi)*sqrt(E)*sqrt(((m*pi)/a1)^2+(n*pi/b1(k))^2+(pp*pi/(2*d1)^2));
end
a2 = 10*10^-3;
b2 = 10*10^-3;
d2 = 10*10^-3:0.1*10^-3:30*10^-3;
f2 = zeros(1,length(d2));
for t=1:length(d2)
f2(t) = c/(2*pi)*sqrt(E)*sqrt((m*pi)/a2)^2+(n*pi/b2)^2+(pp*pi/(2*d2(t)^2));
end
subplot(3,1,1);plot(a,f);title('plot a vs f when a is varying');
subplot(3,1,2);plot(b1,f);title('plot b vs f when b is varying');
subplot(3,1,3);plot(d2,f);title('plot d vs f when d is varying');

댓글 수: 1

Hello Harshit!
What is the problem with this code, are you not able to get desired output? Kindly state your question properly.

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

답변 (1개)

Sharath Maadam
Sharath Maadam 2026년 7월 9일 6:01

0 개 추천

Hi,
Design can be created using patchMicrostrip antenna element from Antenna Toolbox in matlab

카테고리

도움말 센터File Exchange에서 Design, Analysis, Benchmarking, and Verification에 대해 자세히 알아보기

태그

질문:

2023년 4월 25일

답변:

2026년 7월 9일 6:01

Community Treasure Hunt

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

Start Hunting!

Translated by