MATLAB中出现Error in ==> cm_sm32 at function[pb,ps]=cm_sm32(snr_in_dB)N=100;E=1;numofsymbolerror=0;numofbiterror=0;counter=0;snr=10^(snr_in_dB/10);sgma=sqrt(E/snr)/2;s00=[1 0];s01=[0 1];s11=[-1 0];s10=[0 -1];while(numofbiterror
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/04 17:36:11
MATLAB中出现Error in ==> cm_sm32 at function[pb,ps]=cm_sm32(snr_in_dB)N=100;E=1;numofsymbolerror=0;numofbiterror=0;counter=0;snr=10^(snr_in_dB/10);sgma=sqrt(E/snr)/2;s00=[1 0];s01=[0 1];s11=[-1 0];s10=[0 -1];while(numofbiterror
MATLAB中出现Error in ==> cm_sm32 at
function[pb,ps]=cm_sm32(snr_in_dB)
N=100;
E=1;
numofsymbolerror=0;
numofbiterror=0;
counter=0;
snr=10^(snr_in_dB/10);
sgma=sqrt(E/snr)/2;
s00=[1 0];
s01=[0 1];
s11=[-1 0];
s10=[0 -1];
while(numofbiterror
MATLAB中出现Error in ==> cm_sm32 at function[pb,ps]=cm_sm32(snr_in_dB)N=100;E=1;numofsymbolerror=0;numofbiterror=0;counter=0;snr=10^(snr_in_dB/10);sgma=sqrt(E/snr)/2;s00=[1 0];s01=[0 1];s11=[-1 0];s10=[0 -1];while(numofbiterror
打错字了吧,elseif ((dsourcel(i)==0) & (dsource2(i)==1)),应该是elseif ((dsource1(i)==0) & (dsource2(i)==1))吧.