shape.m
来自「OFDM的仿真程序」· M 代码 · 共 18 行
M
18 行
function shaped_vals = shape(rec_symbol, Mr, U, N);% shaped_vals = shape(rec_symbol, Mr, U, N);%% This function shapes the received symbols prior to demodulation. This completes the% decomposition of the channel into parallel subchannels.%% rec_symbol - received symbol after IFFT block% Mr - # receive antennas% U - matrix of unitary matrices premultiplying MIMO subchannels% N - # OFDM subchannelsshaped_vals =[];for i = 1:N shaped_vals = [shaped_vals; [U(:,(i-1)*Mr+1:i*Mr)]'*transpose(rec_symbol((i-1)*Mr+1:i*Mr))];endshaped_vals = transpose(shaped_vals);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?