⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nand.m

📁 遗传规划的matlab工具箱
💻 M
字号:
function y=nand(x1,x2)
%NAND    Equivalent to the NOT(AND) functions.
%   NAND(X1,X2) returns NOT(AND(X1,X2)).
%
%   Input arguments:
%      X1,X2 - the pair of numbers to evaluate (double)
%   Output arguments:
%      Y - the result of the evaluation (boolean)
%
%   See also NOR
%
%   Copyright (C) 2003-2004 Sara Silva (sara@dei.uc.pt)
%   This file is part of the GPLAB Toolbox

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

⌨️ 快捷键说明

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