Time delay when recovering a signal using SSB-SC modulation and demodulation

1 次查看(过去 30 天)
t = linspace(-0.04 , 0.04 , 8000);
fs = 1/(t(2)-t(1));
f = linspace(0 , fs , 8000);
x = sinc(200 * t) + 2 * sinc(200 * t - 1) + sinc(200 * t + 1);
m = x.*cos(400 * pi * t) + x.*cos(800 * pi * t);
M = fft(m);
s = m.*cos(2 * pi * 8000 * t);
S = fft(s);
[B A] = fir1(2000,0.16,'low');
l = filter(B,A,s);
L = fft(l);
q = l.*cos(2 * pi * 8000 * t);
Q = fft(q);
[B2 A2] = fir1(50,0.02,'low');
out = filter(B2,A2,q);
OUT = fft(out);
plot(t,max(m)/max(out) * out);
hold on;
plot(t,m,'r');
where is the error i made ?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Filter Banks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by