I am having some trouble plotting a sine wave and i'm not sure where i am going wrong.
t = [0:0.1:2*pi]
a = sin(t);
this works by itself, but i want to be able to change the frequency. When i run the same code but make the change
the code returns something bad. What am i doing wrong? How can i generate a sin wave with different frequencies?