I do not know how to solve the shallow water equations in the matrix form in MATLAB. I didn't find anything useful on the internet. I have the specific mathematical equations to solve (please see the picture below) and I must write in MATLAB. If someone has examples, I would appreciate it.
$$\frac{\partial u}{\partial t} - f\nu + g \frac{\partial \eta}{\partial x} = 0$$
$$\frac{\partial \nu}{\partial t} + fu + g\frac{\partial \eta}{\partial y}=0$$
$$\frac{\partial \nu}{\partial t}+H\big(\frac{\partial u}{\partial x} + \frac{\partial \nu}{\partial y}\big)=0$$