18 lines
293 B
Matlab
18 lines
293 B
Matlab
clc; clear;
|
|
|
|
configure_parameters;
|
|
global s_T s_R
|
|
|
|
compressed_signal = conv(s_R, fliplr(s_T), 'same');
|
|
|
|
figure(1);
|
|
subplot(311);
|
|
plot(t, s_T);
|
|
title("Chirp signal");
|
|
subplot(312);
|
|
plot(t, s_R);
|
|
title("Received Chirp signal");
|
|
subplot(313);
|
|
plot(t, compressed_signal);
|
|
title("Matcher filter");
|