慈心积善,为有缘人做大证明。口中言语,光亮世间人心。
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
not - Find logical NOT
not – 找到逻辑非
This MATLAB function performs a logical NOT of input array A, and returns an array containing elements set to either logical 1 (true) or logical 0 (false).
这个MATLAB函数对输入的数组A进行逻辑非,并且返回一个要么是逻辑0要么是逻辑1的数组。
Syntax 句法
~A
not(A)
Description
~A performs a logical NOT of input array A, and returns an array containing elements set to either logical 1 (true) or logical 0 (false). An element of the output array is set to 1 if the input array contains a zero value element at that same array location. Otherwise, that element is set to 0.
~A对输入数组A进行逻辑非运算,并返回一个要么是0,要么是1的数组。在输出数组中的元素被设为1,则证明在输入数组中的相同位置处是一个0变量元素。否则输出数组中的元素被设为0.
The input of the expression can be an array or can be a scalar value. If the input is an array, then the output is an array of the same dimensions. If the input is scalar, then the output is scalar.
输入表达式可以是一个数组或者是一个标量。如果输入是一个数组,那么输出也是一个相同维度的数组,如果输入是一个标量那么,输出也是一个标量。
not(A) is called for the syntax ~A when A is an object.
当A是一个对象时,在语法规则上not(A)也叫作A非。
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
翻译matlab 借助了翻译软件和实践时候的经验,愿所有看了这篇翻译的人能得到一些启示。
因为是为了帮助新手入门,所以我努力以人为本,说新手听得懂的语言,绝不一一对译。n(*≧▽≦*)n
如果我的翻译有错误,请指正。我会不断地进步并更新改进翻译的。请务必不吝赐教。在下感激不尽。
感恩众生与使用的软件,金山词霸与microsoft word。
注:此文仅用作科研学习使用。如果我侵犯了您的权益,请告知。看到您的告知后,我将及时作出处理。
此文为原创,未经同意不得转载。所以转载到其他网站前,请询问在下。