How can I apply a hanning window to 3D matrix ?

14 次查看(过去 30 天)
a = rand(10,11,12);
w = hanning(10)*hanning(11)';
w3 = repmat(w,1,1,12);
aw = a.*w3;
Is this the correct method ?

回答(1 个)

Madhav Thakker
Madhav Thakker 2021-4-12
Hi Raheem,
Have a look at https://in.mathworks.com/help/signal/ref/hann.html hanning window in MATLAB for details.
Hope this helps.

类别

Help CenterFile Exchange 中查找有关 Discrete Math 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by