精选优质文档-倾情为你奉上%16QAM%等效基带调制clc;clear all;close all;%关闭所有窗口,比如之前画的图nsymbol = 10000;%每种信噪比下符号数的发送符号数,106个数errornumber = zeros(1,10);errorratio = zeros(1,10);data = randi(0,1,1,4*nsymbol);%产生1行,4*nsymbol列均匀分布的随机数data_mod1 = zeros(1,nsymbol);%各参量初始化data_mod2 = zeros(1,nsymbol);data_demod1 = zeros(1,nsymbol);data_demod2 = zeros(1,nsymbol);data_demod3 = zeros(1,nsymbol);data_demod4 = zeros(1,nsymbol);s_receive1 = zeros(1,nsymbol);s_receive2 = zeros(1,nsymb