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 ?

답변 (1개)

Madhav Thakker
Madhav Thakker 2021년 4월 12일

0 개 추천

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

카테고리

도움말 센터 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2020년 3월 25일

답변:

2021년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by