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

a = rand(10,11,12);
w = hanning(10)*hanning(11)';
w3 = repmat(w,1,1,12);
aw = a.*w3;
Is this the correct method ?

Answers (1)

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

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 25 Mar 2020

Answered:

on 12 Apr 2021

Community Treasure Hunt

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

Start Hunting!