MATLAB Answers

0

how can we plot this sine wave

Asked by sesha sai on 20 Apr 2019
Latest activity Commented on by sesha sai on 20 Apr 2019
Untitledkj.jpgit was source

1 Answer

Answer by Geoff Hayes
on 20 Apr 2019
 Accepted 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.

  1 Comment

thank you so much sir

Sign in to comment.