Effacer les filtres
Effacer les filtres

How to make the spectrogram function output the actual frequencies instead of the normalized ones?

16 vues (au cours des 30 derniers jours)
This program performs a frequency sweep on a song and prints out the spectrogram, however, it displays normalized frequencies and I was wondering if there's any way to get it to display the actual frequencies instead. Here's the code:
wave_file = 'Here_Comes_a_Special_boy.wav';
[abc,fs] = audioread(wave_file);
noverlap = [];
spectrogram(abc,256,noverlap,[]);

Réponses (1)

Chinmay Anand
Chinmay Anand le 1 Juil 2019

Catégories

En savoir plus sur Time-Frequency Analysis dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by