作业帮 > 综合 > 作业

abs在MATLAB的作用

来源:学生作业帮 编辑:搜搜考试网作业帮 分类:综合作业 时间:2024/04/19 23:09:32
abs在MATLAB的作用
请问这个语句是什么意思 f=abs(c')*ones(n,1),就是看不懂,首先声明,语句没有错,在程序里能运行
这里的c不是一个数 而是一个向量 我确信它不是求绝对值
abs在MATLAB的作用
help一下呗,事实证明你的确信是错的
help abs
ABS 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.
这就是结果了,不会再有其他可能,就是求模啦