Frequency problem between reality and analysis
2 views (last 30 days)
Show older comments
sofiane benhamza
on 11 Jun 2022
Commented: Bjorn Gustavsson
on 21 Jun 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 Comments
Bjorn Gustavsson
on 21 Jun 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.
Accepted Answer
Jonas
on 20 Jun 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
More Answers (0)
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!