% This Script file Plots the Sine Wave with respect to time
%The red text are comments
clc; %Used to clear the screen (Just Clears the Screen)
clear; %Used to clear the Variable Window (This clears the Memory)
fSampling = 1000; %Sampling Frequency
t = 0:1/fSampling:1; %Time Interval
f = 3; %Carrier Frequency
sine_wave = sin(2*pi*f*t);
plot(t,sine_wave); %For Plotting the Sine Wave with Respect to time
xlabel('Time Axis');
ylabel('Sine Wave Amplitude');
title('Sine Wave Plot');
grid on;