% Impedance of coupled dipole antenna with respect to wavelength.The dipole antenna seperated by distance
% delta. The method used is Hallen's Integral. Here the second dipole is not fed by any
% voltage source
clear all;
lamda=1; %arbitary wavelength (in meter): this can be varied accourding to the problem
l=0.5*lamda; % length of dipole: this can be varied accourding to the problem
a=0.001*lamda; % radius of dipole: this can be varied accourding to the problem
N=50; % no.of segments i.e. the sampling points in antenna surface/for convergence: this can be varied accourding to the problem
dz=l/(2*(N-1/2));% incremental length of l/2 upper part of antenna
z=dz/2:dz:dz*(N); % stores the invremental length in upper part of antenna
k=2*pi/lamda; % wave number
etta=377; % free space impedance
V_impressed=-1; % impressed voltage on D1: this can be varied accourding to the problem
delta=0.1*lamda:0.1:5*lamda; % distance between the dipoles
for d=1:length(delta)
%%%%%% calculating the Green's Function on first dipole (with source)%%%%%
%%%%%%%%%%%%%%%%calculating Function's due to current in first and second dipole%%%%%%%%
for m=1:N %m is the obsevation point
for n=1:N-1% n is the source points
R1=sqrt(a^2+(z(m)-z(n))^2); % R+ in lecture notes for G11
R2=sqrt(a^2+(z(m)+z(n))^2); % R- in lecture notes for G11
R3=sqrt(delta(d)^2+(z(m)-z(n))^2); % R+ for G12
R4=sqrt(delta(d)^2+(z(m)+z(n))^2); % R- for G12
%%%%%%%%%%%%% evaluating greens function G11 %%%%%%%%%%%%%%%%
G1=exp(-j*k*R1)/(4*pi*R1); % G11(R+) in lecture notes
G2=exp(-j*k*R2)/(4*pi*R2); % G11(R-) in lecture notes
G_11(m,n)=(G1+G2)*dz; % G11(R) observation in D1 source:1
%%%%%%%%%%%%% evaluating greens function G12 %%%%%%%%%%%%%%
G3=exp(-j*k*R3)/(4*pi*R3); % G12(R+) in lecture notes
G4=exp(-j*k*R4)/(4*pi*R4); % G12 (R-)in lecture notes
G_12(m,n)=(G3+G4)*dz; % G12(R) observation in D1 source:2
end
v_1(m)=j/(2*etta)*(sin(k*z(m))); % Sine term due to impressed voltage in D1
end
%%%%%% calculating the Green's Function on second dipole (without source)%%%%%
%%%%%%%%%%%%%%%%calculating Function's due to current in first and second dipole%%%%%%%%
for m=1:N %m is the obsevation point
for n=1:N-1% n is the source points
R5=sqrt(a^2+(z(m)-z(n))^2); % R+ in lecture notes for G22
R6=sqrt(a^2+(z(m)+z(n))^2); % R- in lecture notes for G22
R7=sqrt(delta(d)^2+(z(m)-z(n))^2); % R+ for G21
R8=sqrt(delta(d)^2+(z(m)+z(n))^2); % R- for G21
%%%%%%%%%%%%% evaluating greens function G22 %%%%%%%%%%%%%%
G5=exp(-j*k*R5)/(4*pi*R5); % G22(R+) in lecture notes
G6=exp(-j*k*R6)/(4*pi*R6); % G22(R-) in lecture notes
G_22(m,n)=(G5+G6)*dz; % G22(R) observation in D2 source:2
%%%%%%%%%%%%% evaluating greens function G12 %%%%%%%%%%%%%%
G7=exp(-j*k*R7)/(4*pi*R7); % G21(R+) in lecture notes
G8=exp(-j*k*R8)/(4*pi*R8); % G21 (R-)in lecture notes
G_21(m,n)=(G7+G8)*dz; % G21(R) observation in D2 source:1
end
v_2(m)=0; % Sine term due to impressed voltage in D2 (no voltage applied in D2)
end
%%%%%%%%%%%% concatenating G11 and G12%%%%%%%%%%%
G_D1=horzcat(G_11,G_12);
s=size(G_D1);
N_t1=s(2);
G_D1(:,N_t1+1)=[-cos(k*z)]; % N element holds the cosine terms for D1
G_D1(:,N_t1+2)=[0]; % N+1 element holds the cosine terms for D2 which is zero for D1
%%%%%%%%%%%% concatenating G21 and G22%%%%%%%%%%%
G_D2=horzcat(G_21,G_22);
s_1=size(G_D2);
N_t2=s_1(2);
G_D2(:,N_t2+1)=[0]; % N element holds the cosine terms from D1 which is zero for D1
G_D2(:,N_t2+2)=[-cos(k*z)]; % N+1 element holds the cosine terms from D2
%%%%%%%%%%%%%concatenating Sine terms i.e. Vm%%%%%%%%%%%%%
Vm=horzcat(v_1,v_2);
%%% Defining the matrix required to evaluate the current%%%%%%%%
G_eval=vertcat(G_D1,G_D2);
%%%% evaluate current%%%
I=inv(G_eval)*Vm.'; % this will give a column vector of current
%%%%%%%%%%% for question number 4 (LAB part)%%%%%%%%%%%%%%%%%%%%
s_2= size(I);
N_t3=s_2(1); % this will give the number of elements in column
N1=(N_t3-2)/2;
I1=I(1); % first element gives the current in the centre of D1
I2=I(N1+1); % this gives the current in the centre of D2
Z_11(d)=V_impressed/I1;
Z_12(d)=V_impressed/I2;
end
plot(delta,real(Z_11));
hold on
plot(delta,imag(Z_11),'r')
legend('real-Z11','Imaginary-Z11')
title('阻抗的实部和虚部')
xlabel('delta');
ylabel('阻抗')
grid on
figure
plot (delta, real(Z_12),'b:<')
hold on
plot (delta,imag(Z_12),'r-->')
legend('real-Z12','Imaginary-Z12')
title('阻抗的实部和虚部')
xlabel('delta');
ylabel('阻抗')
grid on
没有合适的资源?快使用搜索试试~ 我知道了~
【天线阻抗】基于matlab耦合偶极子天线阻抗计算【含Matlab源码 7447期】.zip
共3个文件
jpg:2个
m:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 51 浏览量
2024-09-03
20:34:56
上传
评论
收藏 67KB ZIP 举报
温馨提示
CSDN海神之光上传的代码均可运行,亲测可用,直接替换数据即可,适合小白; 1、代码压缩包内容 主函数:main.m; 调用函数:其他m文件;无需运行 运行结果效果图; 2、代码运行版本 Matlab 2019b;若运行有误,根据提示修改;若不会,私信博主; 3、运行操作步骤 步骤一:将所有文件放到Matlab的当前文件夹中; 步骤二:双击打开main.m文件; 步骤三:点击运行,等程序运行完得到结果; 4、仿真咨询 如需其他服务,可私信博主或扫描博客文章底部QQ名片; 4.1 博客或资源的完整代码提供 4.2 期刊或参考文献复现 4.3 Matlab程序定制 4.4 科研合作 功率谱估计: 故障诊断分析: 雷达通信:雷达LFM、MIMO、成像、定位、干扰、检测、信号分析、脉冲压缩 滤波估计:SOC估计 目标定位:WSN定位、滤波跟踪、目标定位 生物电信号:肌电信号EMG、脑电信号EEG、心电信号ECG 通信系统:DOA估计、编码译码、变分模态分解、管道泄漏、滤波器、数字信号处理+传输+分析+去噪(CEEMDAN)、数字信号调制、误码率、信号估计、DTMF、信号检测识别融合、LEACH协议、信号检测、水声通信
资源推荐
资源详情
资源评论
收起资源包目录
【天线阻抗】基于matlab耦合偶极子天线阻抗计算【含Matlab源码 7447期】.zip (3个子文件)
【天线阻抗】基于matlab耦合偶极子天线阻抗计算【含Matlab源码 7447期】
运行结果1.jpg 34KB
main.m 5KB
运行结果2.jpg 50KB
共 3 条
- 1
资源评论
海神之光
- 粉丝: 5w+
- 资源: 6086
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- VB.NET二维码生成与识别【带ReoGrid表格excel值转码】.rar
- winide安装软件,绝对实用
- 带宽调度算法-基于业务递归分配
- 带宽调度算法-基于业务递归分配
- 美修大数据:2022母婴洗护品类洞察报告(2).pdf
- 媒体分析小米公司的供应链存在的隐患,商业资讯-商务联盟.html
- objective-c可视化演示5中的常见排序算法,包括选择排序、气泡排序、插入排序、快速排序、堆排序等.zip
- 马士基:定制数字化套装-揭秘供应链中游的制胜法宝
- 网络安全Dirbuster目录探测工具0.12
- 2023-04-06-项目笔记 - 第三百零六阶段 - 4.4.2.304全局变量的作用域-304 -2025.11.03
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功