Autocorrelation of random Gaussian noise in MATLAB
Вставка
- Опубліковано 17 лис 2024
- Code:
t=0:1000;
x=randn(1,length(t));
subplot(2,1,1);
plot(t,x);
ylabel('Amplitude');
xlabel('Time sample');
title('Gaussian noise signal');
t2=-fliplr(t);
nl=min(t)+min(t2);
nh=max(t)+max(t2);
t=nl:1:nh;
y=xcorr(x,x);
subplot(2,1,2);
plot(t,y);
ylabel('Correlation output');
xlabel('Delay');
title('Autocorrelation of AWGN');
Prerequisite:
How to generate gaussian random signal in MATLAB:
• Random sequence Genera...
Autocorrelation in MATLAB | MATRIX Method
• Autocorrelation in MAT...