i have created samples of audio signal and want to generate separate spectrogram of each sample which should be automatically save to a folder . how can I do it?

1 Ansicht (letzte 30 Tage)
nfft = 1024;
hop = 256;
[y,fs] = audioread('signal.wav');
[s,f,t,p] = spectrogram(y,hanning(nfft),nfft-hop,nfft,fs);

Antworten (0)

Kategorien

Mehr zu Time-Frequency Analysis finden Sie in Help Center und File Exchange

Produkte


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by