Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.42 KB | None | 0 0
  1. d = 0.322519174 + 0.322213208;
  2. for v = 0:5
  3. h= [0.9 0.8 -0.7 -0.6 (d/10)];
  4. x = [1,0,0,1];
  5. x = transmitter(x,v);
  6. t = CyclicPrefix(x,v);
  7. t = ova(t,h);
  8. z = RemoveCyclicPrefix(t,v);
  9. z = z(1:64);
  10. Z = fft(z);
  11. H = fft(h,64);
  12. H = diag(H); % Create diagonal matrix
  13. Z = transpose(Z); % doing the transponse
  14. after = H'*Z;
  15. after = QPSK_decoder(after);
  16. subplot(6,1,v+1)
  17. stem(after)
  18. title(strcat('v =  ' , num2str(v)))
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement