Battery System Design With MATLAB