Battery Modelling In Matlab