Frequency problem between reality and analysis
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sofiane benhamza
le 11 Juin 2022
Commenté : Bjorn Gustavsson
le 21 Juin 2022
Bonjour ; je sais que l'oreil humain est capable d'entendre les frequences entre 20 et 20k (hz) , mais quand j'analyse un signal sous Matlab [Data,Fs] il donne toujours que Fs=42000 hz . J'arrive pas a comprendre comment ca marche
5 commentaires
Bjorn Gustavsson
le 21 Juin 2022
To look at the frequencies of the sound you could look at its spectrogram. How to calculate and display that have a look at the help and documentation of the spectrogram function.
Réponse acceptée
Jonas
le 20 Juin 2022
the nyquist theorem tells that you need to sample a wave at least two times to reproduce it without errors. Or in other words, if you want to catch frequencies up to 20kHz, you need a sampling (recording) frequency of at least 2*20kHz=40kHz.
If there are really high amounts of data in the high range it is recommended to either use an analog lowpass filter (anti aliasing) filter before it is sampled or to signfificantly incerease the sampling frequency (e.g. 100k) to avoid back folding (aliasing) of high frequency contents
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spectral Measurements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!