matlab与Python的转换 matlab中矩阵乘法对应numpy的np.dot() 矩阵点乘在numpy中,可用*,或者np.multiply() matlab中矩阵A’等价于Python里面(np.matrix(A)).H Python中矩阵行列向量表示 矩阵的行向量 a=a.reshape((1,-1)) 矩阵的列向量 a=a.reshape((-1,1))