I need to generated a high frequency sinusoidal signal for modulation in MATLAB. But it turns out to be something weird. This is the simple code snippet I used...
t = 0:0.001:100;
A = 1;
s = A*sin(2*pi*1e9.*t); %1 GHz signal
plot(t, s);
title('Modulating Signal');
xlabel('Time');
ylabel('Amplitude');
Instead of the sine wave I am getting something weird like this..