作业帮 > 综合 > 作业

MATLAB中dot()函数的用法

来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/04/30 21:49:27
MATLAB中dot()函数的用法
MATLAB中dot()函数的用法
dot Vector dot product.
C = dot(A,B) returns the scalar product of the vectors A and B.
A and B must be vectors of the same length. When A and B are both
column vectors, dot(A,B) is the same as A'*B.

dot(A,B), for N-D arrays A and B, returns the scalar product
along the first non-singleton dimension of A and B. A and B must
have the same size.

dot(A,B,DIM) returns the scalar product of A and B in the
dimension DIM.

Class support for inputs A,B:
float: double, single
再问: 可以整点汉语不?
再答: 点向量的点积。 =点(,A,B)返回向量一个和B标产品 A和B必须是相同长度的向量。当A和B都是 列向量,点(,A,B)是A“* B.相同 点(,A,B),用于ND阵列A和B,返回标产品 沿维A和B. A和B的第一个非singleton 有相同的大小。 点(A,B点心)返回A和B标产品 维点心。 输入A,B级支持: 浮动:双精度,单精度