%================================================================
%===== The Sine Function With Linearly Increasing Frequency =====
%================================================================

clear
clc

Amplitude = 16;
Frequency = 0.5;
Phase = 0;
Duration = 10;
SamplingRate = 300;
AngularFrequency = 2*pi*Frequency;
Time = 0:1/SamplingRate:Duration;

RiseValue = 20;
IncreasingFSineFunction = Amplitude.*sin(AngularFrequency.*Time.*Time + Phase);

figure(1);
plot(Time,IncreasingFSineFunction);
title('Linearly Increasing Frequency Sine Function');
xlabel('Time (Sec)');
ylabel('Amplitude (V)');
grid on