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