Borrar filtros
Borrar filtros

how can I plot the spectrogram of a signal?

74 visualizaciones (últimos 30 días)
Dana Alsalman
Dana Alsalman el 28 de Dic. de 2016
Respondida: KSSV el 28 de Dic. de 2016
Hi,
Can you please help me to plot the spectrogram of the signal below
Fs = 1000; % Sampling frequency
T = 1/Fs; % Sampling period
L = 1000; % Length of signal
t = (0:L-1)*T; % Time vector
S1 = 1.7*cos(2*pi*10*t) + 2*cos(2*pi*20*t)+ 7*cos(2*pi*30*t) + 3*cos(2*pi*40*t)+0.7*cos(2*pi*50*t) + cos(2*pi*60*t)+ 4.7*cos(2*pi*70*t) + 8*cos(2*pi*80*t)+9.7*cos(2*pi*90*t) + 10*cos(2*pi*100*t)+ 17*cos(2*pi*105*t) + 0.5*cos(2*pi*110*t);
Thanks,

Respuestas (1)

KSSV
KSSV el 28 de Dic. de 2016

Categorías

Más información sobre Time-Frequency Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by