📄 rssymboladd.m
字号:
%
% File Name : RsSymbolAdd.m
% Abstract : Function RsSymbolAdd(LOperand,ROperand) returns the
% sum of two elements in GF(2.^4) Field. LOperand and
% ROperand are the two elements.
%
% Version : 1.0 2008-5-20
%*************************************************************************
function [Sum]=RsSymbolAdd(LOperand, ROperand) %
LOperand2=de2bi(LOperand,4);%convert number in digital into binary
ROperand2=de2bi(ROperand,4);%convert number in digital into binary
Sum=bitxor(LOperand2,ROperand2);% addition in binary
Sum=bi2de(Sum); %convert number in binary into digital
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -