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 https://in.mathworks.com/help/signal/ref/hann.html hanning window in MATLAB for details.
Hope this helps.

Categories

Find more on Discrete Math in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!