%==================================
%===== The Overshoot Function =====
%==================================

clear
clc

Duration = 1;
SamplingRate = 100;
Time = 0:1/SamplingRate:Duration;
Frequency = 3;
AngularFrequency = 2*pi*Frequency;
Decay = 5;

StartValue = 0;
EndValue = 200;
Amplitude = (EndValue - StartValue)/Duration;

TheOvershootFunction = (Amplitude*sin(AngularFrequency*Time-0.1))./(exp(Decay*(Time-0.1))/AngularFrequency);

figure(1);
plot(Time,TheOvershootFunction);
grid on