gausswin matlab,Gaussian window

该示例展示了高斯窗口的傅里叶变换也是一个高斯分布,标准差为时间域标准差的倒数。这是时间-频率不确定性原理的一个例子。创建了一个长度为64的高斯窗口,并通过gausswin函数和定义方程设置α=8,得到标准差为4。然后获取高斯窗口的傅里叶变换,并对比理论上的高斯分布。
摘要由CSDN通过智能技术生成

This example shows that the Fourier transform of the Gaussian window is also Gaussian with a reciprocal standard deviation. This is an illustration of the time-frequency uncertainty principle.

Create a Gaussian window of length 64 by using gausswin and the defining equation. Set α=8, which results in a standard deviation of 64/16 = 4. Accordingly, you expect that the Gaussian is essentially limited to the mean plus or minus 3 standard deviations, or an approximate support of [-12, 12].

N = 64;

n = -(N-1)/2:(N-1)/2;

alpha = 8;

w = gausswin(N,alpha);

stdev = (N-1)/(2*alpha);

y = exp(-1/2*(n/stdev).^2);

plot(n,w)

hold on

plot(n,y,'.')

hold off

xlabel('Samples')

title('Gaussian Window, N = 64')

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值