matlab 2014a 中文帮助,MATLAB2014a中help与参考页中文翻译(用于学习) all

镇场诗:吾心为他人,此智不私藏。学术有小成,愿帮大家忙。诚心说愿望,愿见闻者得启发。 /// >> help all all - Determine if all array elements are nonzero or true all – 判定是否数组的全部元素是 非0或者真。 This MATLAB function tests along the first array dimension of A whose size does not equal 1, and determines if the elements are all nonzero or logical 1 (true). 这个MATLAB函数从第一维开始测试一个数组,这个数组的维度可以不为1,判断是否数组中的所有元素均是非0或者逻辑1. Syntax 句法规则 B = all(A) B = all(A,dim) Description 描述 B = all(A) tests along the first array dimension of A whose size does not equal 1, and determines if the elements are all nonzero or logical 1 (true). In practice, all is a natural extension of the logical AND operator. 这个MATLAB函数测试一个数组,这个数组的维度可以不为1,判断是否数组中的所有元素均是非0或者逻辑1.在实践中,all函数是一个逻辑与运算的自然扩展。 If A is a vector, then all(A) returns logical 1 (true) if all the elements are nonzero and returns logical 0 (false) if one or more elements are zero. 如果A是一个向量,而且所有的元素都是非0的,那么all(A)返回逻辑1。如果有一个或者更多的元素是0,那么返回逻辑0. If A is a nonempty, nonvector matrix, then all(A) treats the columns of A as vectors and returns a row vector of logical 1s and 0s. 如果A是一个不空的矩阵,那么all(a)按照向量的方式对待A的列,之后返回一个行向量,这个行向量有逻辑1或逻辑0. If A is an empty 0-by-0 matrix, then all(A) returns logical 1 (true). 如果是一个空,即0行0列的矩阵,那么all(A)返回逻辑1. If A is a multidimensional array, then all(A) acts along the first array dimension whose size does not equal 1 and returns an array of logical values. The size of this dimension becomes 1, while the sizes of all other dimensions remain the same. 如果A 是一个多维度数组,那么all(a)会对每一个维度按照一维数组的方式进行判断,并返回每一个维度的逻辑值,如果每个维度都返回1,那么all(a)只返回一个1。 B = all(A,dim) tests elements along dimension dim. The dim input is a positive integer scalar. 这个测试在指定维度的元素们。Dim变量是一个正整数标量。 /// 翻译matlab 借助了翻译软件和实践时候的经验,愿所有看了这篇翻译的人能得到一些启示。 因为是为了帮助新手入门,所以我努力以人为本,说新手听得懂的语言,绝不一一对译。n(*≧▽≦*)n 如果我的翻译有错误,请指正。我会不断地进步并更新改进翻译的。请务必不吝赐教。在下感激不尽。 感恩众生与使用的软件,金山词霸与microsoft word。 注:此文仅用作科研学习使用。如果我侵犯了您的权益,请告知。看到您的告知后,我将及时作出处理。 此文为原创,未经同意不得转载。所以转载到其他网站前,请询问在下。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值