Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- d = 0.322519174 + 0.322213208;
- for v = 0:5
- h= [0.9 0.8 -0.7 -0.6 (d/10)];
- x = [1,0,0,1];
- x = transmitter(x,v);
- t = CyclicPrefix(x,v);
- t = ova(t,h);
- z = RemoveCyclicPrefix(t,v);
- z = z(1:64);
- Z = fft(z);
- H = fft(h,64);
- H = diag(H); % Create diagonal matrix
- Z = transpose(Z); % doing the transponse
- after = H'*Z;
- after = QPSK_decoder(after);
- subplot(6,1,v+1)
- stem(after)
- title(strcat('v = ' , num2str(v)))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement