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

13 views (last 30 days)
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)

Madhav Thakker
Madhav Thakker on 12 Apr 2021
Hi Raheem,
Have a look at hanning window in MATLAB for details.
Hope this helps.




Community Treasure Hunt

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

Start Hunting!