[test_pks test_locs]=findpeaks(OCV,'Minpeakdistance',10000,'MinPeakHeight',1.5);
plot(OCV)
hold on
plot(test_locs, test_pks,'ro')