MATLAB Answers

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

18 views (last 30 days)
raheem mian
raheem mian on 25 Mar 2020
Answered: Madhav Thakker on 12 Apr 2021
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.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by