How to create a Gaussian Chirp signal?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!