How do I apply a function to every resulting element of a buffer function?
2 ビュー (過去 30 日間)
古いコメントを表示
I've split the sound signal into frames of 256 length using buffer function.
Now I have 256x544 "frames" variable with 256 rows and 544 columns inside when I see it through "Open Selection".
How do I apply a function, e.g. hamming(256), to each column?
0 件のコメント
採用された回答
Star Strider
2022 年 10 月 3 日
‘How do I apply a function, e.g. hamming(256), to each column?’
Do an element-wise multiplication —
v = randn(256,2)
vh = v.*hamming(256)
.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Hamming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!