MIMO(matlab)MIMO(matlab)小结
1x1 1x2 2x1天线传输matlab实现第一种方法代码:clear alldatasize = 1000000; %仿真的符号数EbN0 = 0:2:30; %信噪比M = 2; %BPSK调制x = randsrc(2,datasize/2,[0:1]); %数据源符号s = randsrc(1,datasize/2,[0:1]); %数据源符号x1 = pskmod(x,M,pi);s1 = pskmod(s,M,pi); h = ran