Failed to get anything to work, but at least found some sources
https://stackoverflow.com/questions/20468776/using-matlab-to-write-a-function-that-implements-newtons-method-in-two-dimensio
https://de.mathworks.com/help/symbolic/sym.jacobian.html