Source: https://www.math.u-bordeaux.fr/~cdossal/Enseignements/L3-AnaNum/InitiationMatlab.pdf