% NEDC
%
% New European Driving Cycle
%
% The ECE+EUDC test cycle is performed on a chassis
% dynamometer. The cycle—also known as the MVEG-A
% cycle—is used for emission certification of light
% duty vehicles in Europe [EEC Directive 90/C81/01].
%
% The entire cycle includes four ECE segments, repeated
% without interruption, followed by one EUDC segment.
% Before the test, the vehicle is allowed to soak for
% at least 6 hours at a test temperature of 20-30°C.
% It is then started and allowed to idle for 40s.
%
% Effective year 2000, that idling period has been
% eliminated, i.e., engine starts at 0s and the emission
% sampling begins at the same time. This modified
% cold-start procedure is also referred to as the New
% European Driving Cycle or NEDC.

ECE ;
EUDC ;

a = ece.t(end) ;

nedc.t = [ece.t ; ece.t+a ; ece.t+2*a ; ece.t+3*a ; eudc.t+4*a ] ;
nedc.v = [ece.v ; ece.v ; ece.v ; ece.v ; eudc.v ] ;