MATLAB中dot()函数的用法

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 03:05:26
MATLAB中dot()函数的用法

MATLAB中dot()函数的用法
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