I got a full cycle of sine wave. if I need to zero the 1st half of the sine wave , to get only the negative half cycle, what should I do ?I have done this:
close all;clc;t=[0 0 0 0 0 1 1.2 1.4 1.6 1.8 2]f=.5;% Input Signal Frequency
x=sin(2*pi*f*t);% Generate Sine Wave
plot(t,x);
I wanted an improved version . Is there any other way to do it ?
Best Answer