MATLAB è Simulink íà ðóññêîì

https://hub.exponenta.ru/
 

\Communications Toolbox

CommunicationsToolbox:  /

  \ \

MODNORM
- -

:

scale = modnorm(const, 'avpow', avpow)
scale = modnorm(const, 'peakpow', peakpow)

scale = modnorm(const, 'avpow', avpow)
, PAM- QAM-, ( ) avpow. const , .

scale = modnorm(const, 'peakpow', peakpow)
, PAM- QAM-, ( ) peakpow.

:

, modnorm, - , .

M = 16;                    %  
const = qammod([0:M-1],M); %  
x = randint(1,100,M);
scale = modnorm(const,'peakpow',1); %   
y = scale * qammod(x,M); %   
ynoisy = awgn(y,10);     %  
ynoisy_unscaled = ynoisy/scale; %    
z = qamdemod(ynoisy_unscaled,M); %  
% ,     
h = scatterplot(const,1,0,'ro'); %  
hold on; %        
scatterplot(const*scale,1,0,'bx',h); %  
hold off;

"o" -, "x" - . .

: qammod, qamdemod, pammod, pamdemod.

  \ \

 

:


 Orphus