[an error occurred while processing this directive]
|
figure(1);
load d:\work\signal\x270720010835.dat
variable = x270720010835;
n = variable(1:end,1);
m = variable(1:end,2);
y=xcorr(n,m);
plot (y);
title('cross-correlation');
grid on;
figure(2);
freqz(n,1);
title('frequency characteristic and phase-frequency variation sidnal 1');
grid on;
figure(3);
freqz(m,1);
title('frequency characteristic and phase-frequency variation signal 2');
grid on;
% figure(100);
% Magnitude-to-frequency response of the left channel
%plot(abs(fft(variable(:, 1))));
%hold on;
%grid on;
%figure(110);
% Magnitude-to-frequency response of the right channel
%plot(abs(fft(variable(:, 2))), 'r');
% po prosbam trudyaschihsya:
%hold off;
%zoom on;