具有带通和扫描正弦波的3个扫描啁啾正弦信号

时间:2017-12-13 14:34:59

标签: matlab command signal-processing

我正在创建一个具有3个载波和调制频率的上/下扫描信号,其带通不重叠。我向上扫了一眼。

这是我到目前为止共同使用的三个信号的代码。声音和频谱图有注释,以便可以单独听到和查看信号。

%sweep AM - 3 sounds
% For swept cosine f(i)(actual)(t)=f(i)*(t)+?*t
% Sampling rate
Fs=32e3;

% Time
t = 0:1/32e3:10;

% Sound 1 - High Frequency Sweep
yl = chirp(t,3600,10,3800);
yh = chirp(t,4400,10,4200);
y = sin(2*pi*4000*t);
yy = (yl+yh+y)./2;
% See Sound 1
% spectrogram(yy,3200,[],3200,32e3);
% Hear the sound
% soundsc(yy,32e3);


% Sound 2 -  Low Frequency Sweep
xl = chirp(t,200,10,800);
xh = chirp(t,1800,10,1200);
x = sin(2*pi*1000*t);
xx = (x+xl+xh)./2;

% Combine Sound 1 and Sound 2
q = xx+yy;
% See Sound 1 and 2
% spectrogram(q,3200,[],3200,32e3);
% Hear the sounds
% soundsc(q,32e3);

% Sound 3 - Mid-Frequency Sweep
zl = chirp(t,2800,10,3200);
zh = chirp(t,2400,10,2000);
z = sin(2*pi*2600*t);
zz = (z+zl+zh)./2;
% Combine Sound 1, Sound 2, Sound 3 together
qq = xx+yy+zz;
% See Sound 1, 2, and 3
spectrogram(qq,3200,[],3200,32e3);
% Hear the sound
soundsc(qq,32e3);

我需要知道如何进行向下扫描,然后在每次完整扫描(即声音1,声音2和声音3)中添加正弦曲线,以便从上到下扫描的过渡平滑信号。

0 个答案:

没有答案