ashket
Newbie level 1
how to implement step by step covariance method 4th order:rx(k,l) matrix ,a(k),b(k)
Code:
close all
clear all
x=input('Enter x: ')
N=length(x);
for k=0:N-1
for l=0:N-1
Rx(k+1,l+1) = 0;
for n=4:N-1
Rx(k+1,l+1)=Rx(k+1,l+1)+x(n-l)*conj(x(n-k));
end
end
end
Y
Last edited by a moderator: