Re: Urgent: Matlab Help
the signal are Chirp
here is the code
fsample=10000;
frmsz=512;
t = (1:frmsz)/fsample;
f = (1:frmsz/2)*fsample/frmsz;
y = chirp(t,500,frmsz/fsample,1500,'li');
figure
plot (t,y),
title('Transmitted signal')
xlabel('Time (seconds)')
x = chirp(t,500,frmsz/fsample,1500,'li',-240);
figure
plot (t,x);
title('Received signal')
xlabel('Time (seconds)')
z=x.*y;
Z=abs(fft(z));
figure
plot(f,Z(1:frmsz/2))
After i LPF the mixed signal (z) i exoect to get a sinosidal signal in the time domain!
Any idea?