%% 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).
% Copyright 2012 The MathWorks, Inc.