This repository contains a MATLAB implementation of the Gradient Descent algorithm to minimize a simple quadratic function. The function being minimized is ( f(x) = (x - 3)^2 ), with its minimum ...
Here, $\psi$ is electrode potential, $c_i$ are concentrations of ions. Here is an example in matlab. The function current calculate the currenr density of a reaction ...