load('testing.mat')

t=0:Tinterval:(Length-1)*Tinterval;

%Filter=designfilt('lowpassiir', 'PassbandFrequency', 100e6, 'StopbandFrequency', 180e6, 'PassbandRipple', 1, 'StopbandAttenuation', 60, 'SampleRate', 1/Tinterval);
%D_jetfiltert = filtfilt (Filter,D);


figure()
%plot (t*1000,D_jetfiltert*1000,'b')
plot(t*1000000,B*1000,'b')
%xlim([0 20])
ylim([-50 220])
title('Optische Messung')
legend('Kanal A')
xlabel('Zeit (in µs)')
ylabel('Spannung (in mV)')
grid on
grid minor
