MATLAB中dot()函数的用法

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/16 13:29:46
MATLAB中dot()函数的用法MATLAB中dot()函数的用法MATLAB中dot()函数的用法dotVectordotproduct.C=dot(A,B)returnsthescalarpro

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