%=================================================
%===== The Linearly Increasing Sine Function =====
%=====         Positive Increase Only        =====
%=================================================

clear
clc

Amplitude = 12;
Frequency = 2.4;
Phase = 0;
Duration = 5;
SamplingRate = 100;
AngularFrequency = 2*pi*Frequency;
Time = 0:1/SamplingRate:Duration;

LIPSineFunction = Amplitude.*Time.*(sin(AngularFrequency.*Time + Phase)+1)/2;

figure(1);
plot(Time,LIPSineFunction);
title('The Linearly, Positively Only, Increasing Sine Function');
xlabel('Time (Sec)');
ylabel('Amplitude (V)');
grid on