MATLAB: How can we plot this sine wave

basiccosine wavehomeworkmatlab.msimulinksinewavesourcewave generation

Untitledkj.jpgit was source

Best Answer

sesha - the only difference between this and the usual sine curve is that it is "inverted". Try doing
x = -pi:0.01:pi;
y = -1 * sin(x);
plot(x,y);
and see how the -1 scalar gives you what you are looking for.