how can we plot this sine wave
조회 수: 3 (최근 30일)
이전 댓글 표시
![Untitledkj.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/215010/Untitledkj.jpeg)
채택된 답변
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!