how can I plot the spectrogram of a signal?

95 ビュー (過去 30 日間)
Dana Alsalman
Dana Alsalman 2016 年 12 月 28 日
回答済み: KSSV 2016 年 12 月 28 日
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,

回答 (1 件)

KSSV
KSSV 2016 年 12 月 28 日

カテゴリ

Help Center および File ExchangeTime-Frequency Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by