Skip to content
Snippets Groups Projects
Commit c49eb8c8 authored by Jian Hu's avatar Jian Hu
Browse files

Update dvdi.m

parent d22c7a6d
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ amount = 498; %number of the trips
V = V1;
tpunkt = []; % Mark the points that meet the requirements
for k = 2:length(C)
if abs(C(k)-C(k-1)) >= 30 % when the delta Current bigger than 30A, mark the point as tpunkt.
if abs(C(k)-C(k-1)) >= 30 % when the delta Current bigger than 30A, mark the point as tpunkt.(>0.5C)
tpunkt = [tpunkt,k];
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment