Bonjour mon ami !
Google, connais-tu ?
Les fonctions Matlab
help et
doc, connais-tu ?
help mldivide,
doc mldivide, cela te dit-il quelque chose ?
https://www.mathworks.com/help/matlab/ref/mldivide.html;jsessionid=af3aaacad54d3eef6c89c720c4a9
5. If A is symmetric, or Hermitian, and has real positive diagonal elements, then a Cholesky factorization is attempted (see chol). If A is found to be positive definite, the Cholesky factorization attempt is successful and requires less than half the time of a general factorization. Nonpositive definite matrices are usually detected almost immediately, so this check also requires little time.
En d'autres termes, Matlab utilise lui-même automatiquement la factorisation de Cholesky si la matrice est symétrique réelle ou hermitienne complexe. Il n'y a rien à programmer du tout.
Comme tu as donc pu le constater, Google est ton ami !
http://matlabdb.mathematik.uni-stuttgart.de/download.jsp?MC_ID=3&MP_ID=406
Je te souhaite une bien bonne journée !