matlab2014a中help与参考页翻译 not

来源:互联网 发布:新浪微博登陆网络异常 编辑:程序博客网 时间:2024/06/05 14:25
镇场诗:慈心积善融学习,技术誓为大家学。善心速造多好事,前人栽树后乘凉。我今于此写经验,愿见文者得启发。
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

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是一个优秀的软件,值得学习。如果您有一些不会的知识,咱们可以相互讨论。
如果您认为翻译可以有改进的地方,有错误的地方,请留下评论,我会处理的。
注:如果我的博文无意中侵犯了您的权益,请告知。看到您的告知后,我将及时作出处理。


0 0