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

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

 採用された回答

tacadi
tacadi 2022 年 11 月 21 日

0 投票

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;

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange编程 についてさらに検索

タグ

質問済み:

2022 年 11 月 21 日

回答済み:

2022 年 11 月 21 日

Community Treasure Hunt

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

Start Hunting!