matlab中的abs函数代表什么意思呢,最近有人问到matlab中的abs函数是什么意思,下面给大家带来相关解答,快来看看吧。
matlab中的abs函数什么意思:
其实如果想知道matlab中函数的作用,最好是help一下~,慢慢你会发现它十分的强大。 help一下呗,事实证明你的确信是错的help absABS Absolute value. ABS(X) is the absolute value of the elements of X. When X is complex, ABS(X) is the complex modulus (magnitude) of the elements of X.这个就是它的作用,简单说就是求绝对值,比如ABS(-1) = 1,ABS(2) = 2。