x=0.1:0.3:1; y=sin(x)*cos(x)表示矩阵相乘,sin(x)和cos(x)都是1X4的矩阵,不符合矩阵的运算 y=sin(x).*cos(x)是数组相成,和做内积一样,是对应的项相乘