필터 지우기
필터 지우기

How can I delay a chirp signal for signal processing?

조회 수: 2 (최근 30일)
majid
majid 2021년 4월 24일
댓글: Mathieu NOE 2021년 4월 26일
I have a question, how can i delay chirp signal? for example 6.5microsecond?
code:
% chirp signal generation 0-75 Hz ,7 chirp
clear all
clc
hchirp = dsp.Chirp('SweepDirection', 'unidirectional', 'TargetFrequency', 75, 'InitialFrequency', 0,...
'TargetTime', 1,'SweepTime', 1, 'SamplesPerFrame', 1176, 'SampleRate', 168);
figure(1);
plot(step(hchirp));
axis tight
xlabel('time (second)')
ylabel('signal amplitude')
% 6.5 microsecond signal delay.
hchirp_delayed=???
Thank you!
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2021년 4월 26일
hello
you have to padd your signal with enough zeros to match the 6.5 microsecond signal delay (depends of your sampling frequency :
samples = round(6.5e-6/Fs);

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by