www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/FindInverseofEachMatrixElementExample.m
%% Find Inverse of Each Matrix Element %% % Create a matrix, |A|, and take the inverse of each element. A = [1 2 3; 4 5 6; 7 8 9]; C = A.^-1 %% % An inversion of the elements is not equal to the inverse of the matrix, % which is instead written |A^-1| or |inv(A)|.