>> %定义矩阵求最大值>> a=[1 7 3;6 2 9];>> A=max(a);>> a a = 1 7 3 6 2 9 >> A A = 6 7 9 >> max的返回值是一个行向量,返回每一列的最大值 如果返回每一行的最大值呢 返回矩阵a中的最大值呢 写上两个max 相关文章: