在Matlab中创建长度为64且重叠60%的汉明窗 [英] To create Hamming window of length 64 with overlap 60% in Matlab

查看:400
本文介绍了在Matlab中创建长度为64且重叠60%的汉明窗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图给出长度为64且重叠60%的Wigner-Ville分布汉明窗

I am trying to give for Wigner-Ville Distribution Hamming Window of length 64 with 60% overlap here. I can create Hamming window of length 64 by

h=hamming(64);

此处是一些有关该问题的理论建议. 窗口似乎是三种汉明波与 convolution 的某种形式.卷积概率为60%.

Here is some theoretical pieces of advice about the issue. The window seems to be some sort of convolution of three Hamming waves with 60% probability for convolution.

重叠似乎是三个函数的某种卷积. 我尝试了三个窗口及其重叠部分

The overlap seems to be some sort of convolution of three functions. My try for three windows and their overlaps

conv(conv(hamming(64), hamming(64)), conv(hamming(64), hamming(64)))

我对两个窗口及其重叠的尝试

My try for two windows and their overlaps

h = conv(hamming(64), hamming(64));

这两个结果似乎都不能给我带来更好的Wigner-Ville分布结果. 仍然可以看到许多多云的山峰. 由于窗口函数的当前结果返回的图片与仅使用 hamming(64)窗口的图片完全相同,因此按键似乎在时间上将窗口分隔开.

Both of the results do not seem to give me any better Wigner-Ville distribution results. Many cloudy peaks are still visible. So the key seems to separate in time the windows, since the current result of the window function returns exactly the same picture as with hamming(64) window only.

hamming(64)的尺寸是64x1的两倍,而conv(hamming(64), hamming(64))的尺寸是127x1的两倍. 要使概率概率为60%的算法并不是一件容易的事,因为我们不能线性地迭代两个函数.

The dimensions of hamming(64) are 64x1 double, while of conv(hamming(64), hamming(64)) 127x1 double. To make a probabilistic algorithm of 60% chance is not straightforward, because we cannot iterate both functions linearly.

如何创建重叠60%的汉明窗?

推荐答案

指示快速搜索

A quick search indicated buffer might be worth attempting.

h = hamming(64);
y = buffer(h, 1, floor(64 * 0.6));

但是我的Matlab版本不支持此功能,所以我没有尝试.

But my Matlab version does not support this function, so I didn't try.

这篇关于在Matlab中创建长度为64且重叠60%的汉明窗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆