MATLAB: Plot the simple sin wave with amplitude

sin wave

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);

Best Answer

y = 3*sin(x);
Related Question