i want to plot a sin wave with freq of 6 and amplitude of 3. here the code: i dont know how to determine the amplitude, please help x = 0:.01:6*pi; y = sin(x); plot(x,y);
You defined -(pi/2)<= t <= (pi/2) . Your function does not have a definition outside of that one period, so it is not meaningful to plot it for multiple periods.
Best Answer