博客
关于我
相控阵天线均匀线阵方向图(五)------方向图函数的不同表达形式
阅读量: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/

你可能感兴趣的文章
Python中*args和**kwargs的使用
查看>>
python中0、1、True、False、if条件
查看>>
python中argparse模块关于 parse_args() 函数详解(全)
查看>>
python中base64编码与解码
查看>>
python中break怎么用_详解Python中break语句的用法
查看>>
python中del函数的垃圾回收
查看>>
Python中DrissionPage的详细解析与实战
查看>>
python中enumerate、变量类型转换
查看>>
python中execute是啥_python – 为什么“c.execute(…)”打破循环?
查看>>
python中exit和break区别_Python中exit()和sys.exit()之间的区别
查看>>
python中h5的用法
查看>>
python中http协议编程_HTTP编程
查看>>
python中if的效率_python中关于if-else使用性能的一点感悟
查看>>
python中import os_Python:相对导入与绝对导入(import)、os.path、__file__
查看>>
python中is和==操作符
查看>>
python中range()函数的返回值是多少?
查看>>
Python中range对象的使用以及打印九九乘法表
查看>>
Python中reshape函数参数-1的意思?
查看>>
Python中set.discard和set.remove方法之间的运行时差异?
查看>>
Python接口自动化测试企业级实战
查看>>