spectral_analysis

Versión 1.0.1 (1,09 KB) por Manoj K J
This function computes the Fast Fourier transform of an input audio file data and plots it on the frequency axis.
65 descargas
Actualizado 28 feb 2020

Ver licencia

This function computes the discrete Fourier transform of an input audio signal using the Fast Fourier Transform algorithm built into Matlab's fft() function as part of the signal processing toolbox.

The inputs are the data extracted from any audio file. The audio data and the sampling rate should be extracted from the audio and passed to this function.
Ex : [audio_data, sample_rate] = audioread('test.mp3');
Also, the title that should appear on the plot of the fft is to passed as a string

Ex : spectral_analysis(audio_data, sample_rate,"FFT Plot")

Citar como

Manoj K J (2024). spectral_analysis (https://www.mathworks.com/matlabcentral/fileexchange/74381-spectral_analysis), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.1

Corrected the axis labels

1.0.0