用matlab执行函数求矩阵和向量的积

implement following functions
MaVe1:This function takes matrix A and vector x as input,calculates the product elementwisely,and returns the result.
MaVe2: This function takes matrixs A and vector x as input,calculates the product by linearly combines the columns of A and returns the result.

https://jingyan.baidu.com/article/375c8e1905819c25f2a22993.html