for m = 1N_symbol+pilot_symbol_number)
x = ifft(data_final(1:N_number,m)); %IFFT
x = x.'; %将列向量转换成行向量,并串转换
signal_ifft(1,(m-1)*Symbol_Length+1:m*Symbol_Length) = [x(N_number-CP_Length+1:N_number) , x]; %加入CP
end
signal_transmit = signal_ifft;
for m = 1:N_symbol+pilot_symbol_number
rec_X = signal_received(1,(m-1)*Symbol_Length+1:m*Symbol_Length); %取出每帧符号
rece_data(1:N_number,m) = fft(rec_X(CP_Length+1:Symbol_Length)); %去掉CP,并且做FFT变换
end
%---------------------------------画星座图----------------------------------%
signal_final_data_star_map = zeros(1,N*N_symbol);
for m=1:N_symbol
signal_final_data_star_map(N*(m-1)+1:N*m)=signal_final_data(1:N,m);
end
scatterplot(signal_final_data_star_map(1,:));