通信天线建模与MATLAB仿真分析代码

此项目是通信天线建模与MATLAB仿真分析代码。 想了解更多请下载附件。

应用介绍

此项目是通信天线建模与MATLAB仿真分析代码。

下面展示一部分代码:

function [Z]=       impmet( EdgesTotal,TrianglesTotal,...

                            EdgeLength,K,...

                            Center,Center_,...

                            TrianglePlus,TriangleMinus,...

                            RHO_P,RHO_M,...

                            RHO__Plus,RHO__Minus,...

                            FactorA,FactorFi);  

%IMPMET Standard impedance matrix (metal surface)

%

% Returns the complex impedance matrix [EdgesTotal x EdgesTotal]

% Uses 9 integration points for every triangle

%   (barycentric subdivision)

%

%   The impedance matrix is calculated as a sum of the contributions

%   due to separate triangles (similar to the "face-pair" method).

%   See Appendix B for a detailed algorithm.

%

%   A 9-point quadrature is used for all integrals, including

%   the self-coupling terms. The alternative source code with

%   the analytical approximation of the self-coupling terms

%   is given in Appendix B. The difference between two methods

%   is not significant.

%

%   Copyright 2002 AEMM. Revision 2002/03/12

%   Chapter 2

%Memory allocation

Z   =zeros  (EdgesTotal,EdgesTotal)+j*zeros(EdgesTotal,EdgesTotal);

%Loop over integration triangles

for p=1:TrianglesTotal

   

    Plus     =find(TrianglePlus-p==0);

    Minus    =find(TriangleMinus-p==0);

   

    D=Center_-repmat(Center(:,p),[1 9 TrianglesTotal]); %[3 9 TrianglesTotal]    

   

    R=sqrt(sum(D.*D));                              %[1 9 TrianglesTotal]

    g=exp(-K*R)./R;                                 %[1 9 TrianglesTotal]

      

    gP=g(:,:,TrianglePlus);                         %[1 9 EdgesTotal]

    gM=g(:,:,TriangleMinus);                        %[1 9 EdgesTotal]

       

    Fi=sum(gP)-sum(gM);                             %[1 1 EdgesTotal]

    ZF= FactorFi.*reshape(Fi,EdgesTotal,1);         %[EdgesTotal 1]

       

    for k=1:length(Plus)

        n=Plus(k);

        RP=repmat(RHO__Plus(:,:,n),[1 1 EdgesTotal]);         %[3 9 EdgesTotal]

        A=sum(gP.*sum(RP.*RHO_P))+sum(gM.*sum(RP.*RHO_M));

        Z1= FactorA.*reshape(A,EdgesTotal,1);   

        Z(:,n)=Z(:,n)+EdgeLength(n)*(Z1+ZF);

    end

    for k=1:length(Minus)

        n=Minus(k);

        RP=repmat(RHO__Minus(:,:,n),[1 1 EdgesTotal]);        %[3 9 EdgesTotal]

        A=sum(gP.*sum(RP.*RHO_P))+sum(gM.*sum(RP.*RHO_M));

        Z1= FactorA.*reshape(A,EdgesTotal,1);   

        Z(:,n)=Z(:,n)+EdgeLength(n)*(Z1-ZF);

    end

end

..............................想了解更多请下载附件

文件列表(部分)

名称 大小 修改日期
current.mat8.99 KB2017-05-20
impedance.mat7,672.37 KB2017-05-20
impmet.m0.89 KB2017-05-20
impmet.m0.89 KB2017-05-20
rwg3.m0.80 KB2017-05-20
bowtie.m0.66 KB2017-05-20
bowtie.mat3.13 KB2017-05-20
dipole.m0.58 KB2017-05-20
dipole.mat0.84 KB2017-05-20
plate.m0.39 KB2017-05-20
plate.mat0.71 KB2017-05-20
platecoarse.mat0.70 KB2017-05-20
platefine.mat2.26 KB2017-05-20
slot.m0.60 KB2017-05-20
slot.mat9.75 KB2017-05-20
viewer.m0.32 KB2017-05-20
mesh1.mat8.56 KB2017-05-20
mesh2.mat67.10 KB2017-05-20
rwg1.m1.18 KB2017-05-20
rwg2.m1.04 KB2017-05-20
rwg3.m0.79 KB2017-05-20
rwg4.m0.78 KB2017-05-20
rwg5.m0.56 KB2017-05-20
rwg6.m0.87 KB2017-05-20
current.mat2.15 KB2017-05-20
efield1.m0.73 KB2017-05-20
efield2.m0.86 KB2017-05-20
efield3.m0.98 KB2017-05-20
gainpower.mat0.25 KB2017-05-20
mesh2.mat11.58 KB2017-05-20

立即下载

相关下载

[欧拉法求解初值问题] 用ode45和不同步长的欧拉法求解该初值问题,得到结果并绘图。 运行脚本后输入步长即可得到结果,可以通过更改颜色观察图像。
[ieee33节点的前推回代法潮流计算算例] IEEE33节点配电系统潮流计算MATLAB程序,使用方法为前推回代法,通过验证结果无误
[常用姿态解算算法MATLAB仿真与C代码] 此项目是常用姿态解算算法MATLAB仿真与C代码。 // Complementary DoCF(); // Kalman DoKalman(); //Premerlani DCM DoDCM();...........想了解更多请下载附件。
[通信天线建模与MATLAB仿真分析代码] 此项目是通信天线建模与MATLAB仿真分析代码。 想了解更多请下载附件。
[MATLAB仿真代码] 此项目是MATLAB仿真代码。 %计算一个周期的C/A码总的采样点数 samplesPerPeriod = round(signalVariables.samplingFre / signalVariables.CodeFre * signalVariables.CodeLength); %输出的采样C/A码后点 sampledCATable = zeros(37, samplesPerPeriod);

评论列表 共有 0 条评论

暂无评论

微信捐赠

微信扫一扫体验

立即
上传
发表
评论
返回
顶部