clc;
close all;
clear;

load plot_crash_test_data.mat

figure;
semilogx(f, 20*log10(abs(squeeze(MAG0))+eps), 'b.-');
hold on;
semilogx(f, 20*log10(abs(squeeze(MAG))+eps), 'c');
grid on;
axis([100 fs/2 -100 0]);
legend('Analog filter', 'Zero-order hold');
hold off;
