downsampling a music in matlab
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello all,
I have a .wav type music and would like to undersample it at 4kHz to view the aliasing effect. Can somebody help me please?
Thanks in advance.
0 commentaires
Réponse acceptée
Daniel Shub
le 19 Oct 2011
doc downsample
Assuming your music is starting with a sample rate of 44.1 kHz and you are happy with a sampling rate of ~4009.09 Hz (44.1e3/11) then:
y = downsample(x, 11);
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multirate Signal Processing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!