【Get深一度】矩形窗/bartlett/Blackman/hamming/Hanning/kaiser -相控阵雷达原理

  • 数字信号处理中,通常取有限时间片段进行分析。
  • 具体做法:1>从信号截取一个时间片段 ; 2>对信号进行傅里叶变换、相关分析。

  • 信号的截断产生了能量泄漏
  • 而FFT算法计算频谱产生栅栏效应
  • 从原理上讲这两种误差都是不能消除的

  • FFT分析中为了减少或消除频谱能量泄漏及栅栏效应采用不同的截取函数对信号进行截短
  • 截短函数称为窗函数,简称为窗。

  • 泄漏与窗函数频谱的两侧旁瓣有关
  • 对于窗函数的选用总的原则是:
  • 保持最大信息和消除旁瓣的综合效果
  • 使窗函数频谱中的主瓣宽度应尽量窄,以获得较陡的过渡带
  • 旁瓣衰减应尽量大,以提高阻带的衰减

  • 频谱中的两侧瓣的高度趋于零
  • 能量相对集中在主瓣
  • 就接近于真实的频谱

  • 不同的窗函数对信号频谱的影响是不一样的
  • 这主要是因为不同的窗函数
  • 产生泄漏的大小不一样
  • 频率分辨能
  • 8
    点赞
  • 61
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
以下是MATLAB中taylorwin(n,nbar,sll)函数的实现: ```matlab function w = taylorwin(n, nbar, sll) % TAYLORWIN Design a Taylor window. % W = TAYLORWIN(N,NBAR,SLL) returns an N-point Taylor window. The % parameter NBAR controls the tradeoff between mainlobe width and % sidelobe level. The parameter SLL specifies the peak sidelobe level % relative to the mainlobe peak. If SLL is not specified, it defaults to % -30 dB. % % The Taylor window is a tapered window designed to minimize the % approximation error in the frequency domain when an ideal filter is % windowed. It has a parameter NBAR that controls the width of the mainlobe % and the sidelobe levels. Larger values of NBAR result in narrower % mainlobes and higher sidelobe levels. % % Example: % % Design a Taylor window with N=64, NBAR=5, and SLL=-40 dB. % w = taylorwin(64, 5, -40); % plot(w); % % See also BARTLETT, BLACKMAN, CHEBWIN, HAMMING, HANN, KAISER, RECTWIN, TUKEYWIN. % Check inputs. narginchk(2, 3); validateattributes(n, {'numeric'}, {'scalar', 'integer', 'positive'}, mfilename, 'N', 1); validateattributes(nbar, {'numeric'}, {'scalar', 'integer', 'positive'}, mfilename, 'NBAR', 2); if nargin < 3 || isempty(sll) sll = -30; else validateattributes(sll, {'numeric'}, {'scalar', 'real'}, mfilename, 'SLL', 3); end % Calculate the coefficients of the Taylor window. a = (n - 1) / 2; alpha = acos(sqrt(10^(-sll/20) - 1)); beta = nbar * alpha / a; w = zeros(1, n); for i = 0:a w(i+1) = besseli(0, beta * sqrt(1 - (i/a)^2)); end w = w / besseli(0, beta); % Mirror the coefficients to obtain an even-length window. if mod(n, 2) == 0 w = [w w(end-1:-1:2)]; else w = [w w(end-1:-1:1)]; end end ``` 该函数的输入参数包括: - `n`:口长度。 - `nbar`:控制主瓣宽度和旁瓣水平的参数。 - `sll`:峰值旁瓣电平相对于主瓣峰值的值。 该函数的输出参数为:口向量 `w`。 该函数的实现步骤如下: 1. 首先,检查输入参数,并对其进行验证。 2. 计算Taylor口的系数。具体而言,使用一个弧度为 $\alpha$ 的超椭圆形来逼近口的频率响应,其中 $\alpha$ 由用户指定,控制主瓣宽度和旁瓣水平。然后,使用贝塞尔函数计算口的系数。 3. 最后,将系数向量镜像以获得一个偶数长度的口。 希望这可以帮助您理解如何在MATLAB中实现Taylor口函数。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值