?? qam_constellation.m
字號:
function [C,csig] = qam_constellation(M)% a convenient quantityN = sqrt(M/4); % M = 4N^2% check if valid M (via checking if N is an integer)if N ~= floor(N), error('M must be of the form 4*N^2 for integer N'); end% generate constellation pointsC=2*[0:sqrt(M)-1]-sqrt(M)+1;C=ones(sqrt(M),1)*C;C=C+i*C';C=C(:);csig=sqrt(mean(abs(C).^2));C=C/csig;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -