I'm confused as what is the difference between these two sine wave equations
x(t) = Sin(2*pi*F*t)
x(t) = Sin(2*pi*F*nTs)
x(t) = Sin(2*pi*F*t) is supposed to be used with analog signal, here
t is supposed to me the samples when speaking of matlab.
A = 4; %Amplitude Freq = 100; Time = 1/Freq; %0.01 Fs = 1000; %Sampling Frequency Ts = 1/Fs; %Sampling Rate t = 0:Ts:(Time); x=A*sin(2*pi*Freq*t);
Similarly if I use the stem command than a plot command I will get the sampled values instead.
If I'm getting the sampled result from the first equation than what is the purpose to replace
nTs in the equation and using the second equation ?
I couldn't be able to demonstrate the difference and visualize it in Matlab. Kindly guide me.