?? rs_channel.m
字號(hào):
% a function to simulate the channel
% generate sequence after channel with the selected errors in the selected site
% 't_x' is the sequence input
% 'num' is the number of errors
% 'site' is a vector which elements are the sites of error
% 'value' is a vector which elements are the values of error in the very sites
function r_x=rs_channel(t_x,num,site,value)
r_x=t_x;
% add the very errors to the input sequence in the very sites
if num~=0
for i=1:num
r_x(site(i)+1)=rs_add(t_x(site(i)+1),value(i));
end
end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -