freq = 5.0; ampl = 2.0; [time, sine] = sinewave(freq, ampl, 1.5); plotsinewave(time, sine);