function [output] = matrixexponentiation(matrixA, exponent) output = matrixA^(exponent);