how can we plot this sine wave

2 次查看(过去 30 天)
Untitledkj.jpgit was source

采纳的回答

Geoff Hayes
Geoff Hayes 2019-4-20
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.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by