博客
关于我
相控阵天线均匀线阵方向图(五)------方向图函数的不同表达形式
阅读量:559 次
发布时间:2019-03-09

本文共 1117 字,大约阅读时间需要 3 分钟。

一维线阵方向图的三种生成方法

基本问题

如何通过不同的表达形式得到一维线阵的同一个方向图?

源代码

以下是用于生成一维线阵方向图的三种方法的 MATLAB 源代码:

clc; clear all; close all;c = 3e8; % 光速f = 500e6; % 信号频率lambda = c / f; % 波长d = lambda / 2; % 阵元间距N = 8; % 阵元个数theta0 = 0; % 波束指向角度bujing = 0.1; % 扫描角取值范围n = [0:1:N-1]'; % 列矢量% 权值计算W = exp(1j * 2 * pi * f * n * d * sin(theta0 * pi / 180) / c);% 方法一F1 = zeros(size(n));for p = 1:length(theta)    V = exp(1j * 2 * pi * f * n * d * sin(theta(p) * pi / 180) / c);    B1(p) = W' * V;endF1 = abs(B1);F1 = 20 * log10(F1 / max(F1));% 方法二F2 = zeros(size(n));for p = 1:length(n)    B2(p) = sum(exp(1j * 2 * pi * f * n * d * (sin(theta(p) * pi / 180) - sin(theta0 * pi / 180)) / c));endF2 = abs(B2);F2 = 20 * log10(F2 / max(F2));% 方法三F3 = zeros(size(n));for p = 1:length(n)    t(p) = pi / 2 * (sin(theta(p)) - sin(theta0));    B3(p) = sin(N * t(p)) / sin(t(p));endF3 = abs(B3);F3 = 20 * log10(F3 / max(F3));% 绘图figure(1);plot(theta, F1, '-r*');hold on;plot(theta, F2, '-g*');hold on;plot(theta, F3, '-bo');grid on;xlabel('角度/度');ylabel('方向图');axis([-90 90 -50 0]);legend('法一', '法二', '法三');

仿真结果

通过上述三种方法,可以清晰地观察到一维线阵方向图的不同表现形式。每种方法都有其独特的特点和适用场景。

转载地址:http://wiapz.baihongyu.com/

你可能感兴趣的文章
npm ERR! Unexpected end of JSON input while parsing near ‘...“:“^1.2.0“,“vue-html-‘ npm ERR! A comp
查看>>
npm error Missing script: “server“npm errornpm error Did you mean this?npm error npm run serve
查看>>
npm error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装
查看>>
npm install CERT_HAS_EXPIRED解决方法
查看>>
npm install digital envelope routines::unsupported解决方法
查看>>
npm install 卡着不动的解决方法
查看>>
npm install 报错 EEXIST File exists 的解决方法
查看>>
npm install 报错 ERR_SOCKET_TIMEOUT 的解决方法
查看>>
npm install 报错 Failed to connect to github.com port 443 的解决方法
查看>>
npm install 报错 fatal: unable to connect to github.com 的解决方法
查看>>
npm install 报错 no such file or directory 的解决方法
查看>>
npm install 权限问题
查看>>
npm install报错,证书验证失败unable to get local issuer certificate
查看>>
npm install无法生成node_modules的解决方法
查看>>
npm install的--save和--save-dev使用说明
查看>>
npm node pm2相关问题
查看>>
npm run build 失败Compiler server unexpectedly exited with code: null and signal: SIGBUS
查看>>
npm run build报Cannot find module错误的解决方法
查看>>
npm run build部署到云服务器中的Nginx(图文配置)
查看>>
npm run dev 和npm dev、npm run start和npm start、npm run serve和npm serve等的区别
查看>>