how to find the effective bandwidth of a signal (chirp linear modulated signal)
1 次查看(过去 30 天)
显示 更早的评论
hello , is the following code correct? if not please tell me the right one
Fs =1000; % Sampling frequency
T = 1/Fs;
L=1000; % length of the signal
t = (0:L-1)*T; % Time vector
x=chirp(t,10,L-1,100,'linear');
f=fft(x);
m=abs(f);
F=(0:L-1)*T;
e=trapz(m.^2);
b=trapz((F.^2).*m.^2);
Beff=(b/e).^0.5
1 个评论
John D'Errico
2019-10-19
编辑:John D'Errico
2019-10-19
Of course. It does exactly what it does. Why do you think it is not correct?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!