Skip to content

Tag: signal-processing

Unable to distinguish four cosines from a FFT

I have four cosines with frequencies 400e-3, 500e-3, 600e-3 and 700e-3 and I am trying to do the FFT of them but under the time I need, I cannot distinguish the four. Is there a way to distinguish the peaks without changing the tmax time of 1.76 and the frequencies? Here are the results: Answer The solution was to increase

Scipy.signal.spectrogram output lengths

I am trying to analyze the frequencies of a song at certain points of time held inside an array. I am using the scipy.signal.spectrogram function to generate those frequencies. the length of the song is 2:44, or 164 seconds, and the sampling rate of the scipy.wavfile read is 44100. When I use spectrogram: The length of f is really small,