How do I apply a function to every resulting element of a buffer function?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ilya Krivoshein
il 3 Ott 2022
Risposto: Star Strider
il 3 Ott 2022
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 Commenti
Risposta accettata
Star Strider
il 3 Ott 2022
‘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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Hamming in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!