I have to plot the signal m(t) = ASin(2pi1000t) and I am using the following Matlab code to do it.
Fm=1000;%1 kHz Fs = 2*Fm; t = 0:1/Fs:10; %