How do I apply a function to every resulting element of a buffer function?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ilya Krivoshein
el 3 de Oct. de 2022
Respondida: Star Strider
el 3 de Oct. de 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 comentarios
Respuesta aceptada
Star Strider
el 3 de Oct. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Hamming en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!