doc HalfStep

Documentation of the HalfStep function.

helpFun('HalfStep')
 Reproduce signal with half time step

 UNEW = HALFSTEP(U)

 Input parameters
     U [double(1:n x 1)] is the input signal with time step dt.

 Output parameters
     UNEW [double(1:n x 1)] is the output signal with time step dt/2.

 Verification:
     u=0.2:0.2:4;
     uNew=HalfStep(u);
     figure()
     plot((1:numel(u)),u)
     hold on
     plot((1:0.5:numel(u)),uNew)

__________________________________________________________________________
 Copyright (c) 2018-2023
     George Papazafeiropoulos
     Major, Infrastructure Engineer, Hellenic Air Force
     Civil Engineer, M.Sc., Ph.D.
     Email: gpapazafeiropoulos@yahoo.gr
 _________________________________________________________________________