channel1.asv
来自「APSK仿真程序」· ASV 代码 · 共 16 行
ASV
16 行
%This function pass the Input Signal through the Channel
%Input Parameters:-
%SignalIn: Input Signal which will be passed through the channel
%Output Parameters:-
%SignalOut = Output Signal after being passed through the channel.
function SignalOut = Channel1(SignalIn,S_N_R)
Parameter;
S_N_R=10^(S_N_R/10);
sgma=sqrt(Es/(2*BitsPerSymb*S_N_R));
SignalOut = awgn(SignalIn,S_N_R,'measured',[],'dB');
%SignalOut = SignalIn;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?