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

你可能感兴趣的文章
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>
No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
查看>>
No mapping found for HTTP request with URI [/logout.do] in DispatcherServlet with name 'springmvc'
查看>>
No module named 'crispy_forms'等使用pycharm开发
查看>>
No module named cv2
查看>>
No module named tensorboard.main在安装tensorboardX的时候遇到的问题
查看>>
No module named ‘MySQLdb‘错误解决No module named ‘MySQLdb‘错误解决
查看>>
No new migrations found. Your system is up-to-date.
查看>>
No qualifying bean of type XXX found for dependency XXX.
查看>>
No qualifying bean of type ‘com.netflix.discovery.AbstractDiscoveryClientOptionalArgs<?>‘ available
查看>>
No resource identifier found for attribute 'srcCompat' in package的解决办法
查看>>
no session found for current thread
查看>>
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
查看>>
NO.23 ZenTaoPHP目录结构
查看>>
no1
查看>>
NO32 网络层次及OSI7层模型--TCP三次握手四次断开--子网划分
查看>>
NOAA(美国海洋和大气管理局)气象数据获取与POI点数据获取
查看>>
NoClassDefFoundError: org/springframework/boot/context/properties/ConfigurationBeanFactoryMetadata
查看>>
node exporter完整版
查看>>