📄 convfortchfs.m
字号:
function output = convfortchfs(input)
g = [1 0 0 1 1;
1 1 0 1 1];
len = length(input);
line1 = mod(conv(input,g(1,:)),2);
line2 = mod(conv(input,g(2,:)),2);
line = [line1(1:len);line2(1:len)];
output = reshape(line,1,2*len);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -