64QAM code help in (ipHat)

조회 수: 4 (최근 30일)
eman
eman 2011년 6월 3일
i NEED TO KNOW WHAT IS MEANT BY "ipHat" in line 5 and 7
CODE: 1.k = sqrt(1/((2/3)*(M-1))); %% normalizing factor
2.m = [1:sqrt(M)/2]; %% alphabets 3.alphaMqam = [-(2*m-1) 2*m-1];
4.Es_N0_dB = [0:30]; %% multiple Es/N0 values
5.ipHat = zeros(1,N); %% init
6.for ii = 1:length(Es_N0_dB)
7.ip = randsrc(1,N,alphaMqam) + j*randsrc(1,N,alphaMqam); 8.s = k*ip; %% normalization of energy to 1 9.n = 1/sqrt(2)*[randn(1,N) + j*randn(1,N)]; % white guassian noise, 0dB variance

답변 (0개)

카테고리

Help CenterFile Exchange에서 QAM에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by