MATLAB CODE: Example: 1. A= [1 4 7; 2 5 8; 3 6 9]. B = A*2. %Find the average of the matrix A. meanA = mean2(A);. %Find the average of the matrix B.
確定! 回上一頁