필터 지우기
필터 지우기

How to create a Gaussian Chirp signal?

조회 수: 3 (최근 30일)
majid
majid 2021년 5월 6일
Hi,
I am trying to creat a Gaussian Chirp (bidirectional) signal with these parameters:
f1=29.25MHz , f2=30.75MHz , sweep time=target time=5.376 ms
sample duration=168 microsec , chirps per frame=64
here a code that i write but cant add gaussian envelope:
clear all
clc
hchirp = dsp.Chirp(...
'SweepDirection', 'bidirectional','TargetFrequency', 75,'InitialFrequency', 0, 'TargetTime', 1, ...
'SweepTime', 1, 'SamplesPerFrame', 1344, 'SampleRate', 168);
figure
plot(step(hchirp));
also, i saw a code on this site that made a gaussian chirp but i need time data on x-axis:
clear all
clc
n = (-511:512)'; % Timeline
sigmas = exp(log(2):.3:log(200)); % Scales
w = exp(-.5*(n.^2)*sigmas.^(-2)); % Window Function
c = 279017857; % Chirp rate
% Gaussian Chirp
chirps = w.*cos(n*sigmas.^(-1)*2*pi*5 + (c/2)*(n/sigmas').^2);
plot(chirps(:,15))
axis tight
please help me about this problem?
thanks!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by