How can i insert Cyclic prefix in an array?
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    sharif
 el 22 de Jun. de 2014
  
    
    
    
    
    Comentada: Walter Roberson
      
      
 el 8 de Abr. de 2018
            N=1024; Cp=64; NTx=8;
% Constellation of Binary-Coded 16-QAM
C=[-3+3j, -3+1j, -3-3j, -3-1j, -1+3j, -1+1j, -1-3j, -1-1j,...
    3+3j, 3+1j, 3-3j, 3-1j, 1+3j, 1+1j, 1-3j, 1-1j];
% Generate random symbols
bk= randi ([0,15],NTx,N);
Dk=C(bk+1);
d=ifft(Dk).*sqrt(N);
tx=[d(end-Cp+1:end) d];
I have d is (8X1024) and I want to add Cyclic Prefix for each row, how can I do that?? [d(end-Cp+1:end) d]; this works for vectors only.
0 comentarios
Respuesta aceptada
Más respuestas (1)
  Qaisar Hussain Alvi
 el 8 de Abr. de 2018
        
      Editada: Walter Roberson
      
      
 el 8 de Abr. de 2018
  
      IFFT_Data = ifft(d,N);
txCy = [IFFT_Data(N-Ncp+1):N,:); IFFT_Data];
1 comentario
  Walter Roberson
      
      
 el 8 de Abr. de 2018
				What is the purpose of doing an ifft() of something that was just calculated as an ifft ?
d=ifft(Dk).*sqrt(N);
Ver también
Categorías
				Más información sobre Bartlett en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



