nor.m

来自「The Source of Genetic Programming develo」· M 代码 · 共 16 行

M
16
字号
function y=nor(x1,x2)
%NAND    Equivalent to the NOT(OR) functions.
%   NAND(X1,X2) returns NOT(OR(X1,X2)).
%
%   Input arguments:
%      X1,X2 - the pair of numbers to evaluate (double)
%   Output arguments:
%      Y - the result of the evaluation (boolean)
%
%   See also NAND
%
%   Copyright (C) 2003-2007 Sara Silva (sara@dei.uc.pt)
%   This file is part of the GPLAB Toolbox

y=not(or(x1,x2));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?