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 个评论
Pratham Shah
2023-4-27
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
2026-7-9
0 个投票
Hi,
Design can be created using patchMicrostrip antenna element from Antenna Toolbox in matlab
For more information,refere to https://in.mathworks.com/help/antenna/ref/patchmicrostrip.html
类别
在 帮助中心 和 File Exchange 中查找有关 Design, Analysis, Benchmarking, and Verification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!