matlab中 mean(A,2) 怎么运算

问题描述:

matlab中 mean(A,2) 怎么运算

mean(A)表示求矩阵A的均值,默认的是求各列的均值如A =[1 2 6; 6 7 2]mean(A) = 3.50004.50004.0000mean(A,1) = mean(A)mean(A,2)是矩阵求各行的均值如上述A矩阵,mean(A,2) = ...