Design of Digital Equilibrium Based on MATLAB