function [] = inversion(mat) %UNTITLED3 Summary of this function goes here % Detailed explanation goes here [a,b]=size(mat) if a==b && det(mat)>0 disp('l inverse de la matrice est') mat^(-1) else disp('la matrice est impossible à inverser') end end