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

产生中心频率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!