求教!!如何生成两个有一定时延的扫频信号。

产生中心频率f0=3kHz,带宽B=4kHz,采样频率fs=40kHz,脉宽T=200ms的chirp信号。这个我懂了,那如何在产生一个跟它差t=0.0013s时延的扫频信号呢。其他的参数不变?

 Accepted Answer

tacadi
tacadi on 21 Nov 2022

0 votes

f0 = 3*1000;
fs = 40*1000;
T = 200/1000;
tt = -T/2:(1/fs):(T/2);
B = 4*1000;
K = B/T;
yy = cos(2*pi*f0*tt+K*pi*tt.^2);
%延时
tt1 = tt - 0.0013;
yy1 = cos(2*pi*f0*tt1+K*pi*tt1.^2);
%yy1为yy的延时版
plot(yy1,'r');hold on;plot(yy,'k');hold off;

More Answers (0)

Categories

Find more on 编程 in Help Center and File Exchange

Tags

Asked:

on 21 Nov 2022

Answered:

on 21 Nov 2022

Community Treasure Hunt

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

Start Hunting!