Effacer les filtres
Effacer les filtres

time-frequency analysis of multi-component chirp

3 vues (au cours des 30 derniers jours)
Jingtao
Jingtao le 18 Fév 2023
hi,
I am working on time-frequency analysis of multi-component chirp. I tried to use 'wsst' to separate the chirps but failed (see the figure below). Can anyone help me with this?
Fs = 1000;
L = 2000;
T = 1/Fs;
t = (0:L-1)*T;
y1 = chirp(t,50,1,60);
y2 = chirp(t,50,1,70);
y3 = chirp(t,50,1,80);
y4 = chirp(t,50,1,90);
y5 = chirp(t,50,1,100);
y = y1+y2+y3+y4+y5;
wsst(y,Fs);

Réponse acceptée

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 19 Fév 2023
Here are the frequency and the time-frequency analyses of the Chirp signal:
Fs = 1000;
L = 2000;
T = 1/Fs;
t = (0:L-1)*T;
y1 = chirp(t,50,1,60);
y2 = chirp(t,50,1,70);
y3 = chirp(t,50,1,80);
y4 = chirp(t,50,1,90);
y5 = chirp(t,50,1,100);
y = y1+y2+y3+y4+y5;
figure('Name', 'Freq Analysis')
pspectrum(y, Fs) % Fre. Analysis
[p,f,t] = pspectrum(y,Fs,'spectrogram');
figure('Name', 'Time-Freq Analysis')
waterfall(f,t,p')
xlabel('Frequency (Hz)')
ylabel('Time (seconds)')
wtf = gca;
wtf.XDir = 'reverse';
view([30 45])

Plus de réponses (0)

Catégories

En savoir plus sur Networks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by