Plotting these sin waves.
조회 수: 9 (최근 30일)
이전 댓글 표시
Hello everyone and thanks in advance for help,I am new to matlab and i need to create plot which looks exactly like this and i dont know how

댓글 수: 0
채택된 답변
Ethar Alkamil
2019년 2월 28일
Try this:
i=1.2; Ur=2;
plot((0:360),sind((0:360))*Ur,'b'), axis([0 360 -Ur Ur])
hold on
plot((0:360),sind((0:360))*i,'r'), axis([0 360 -Ur Ur])
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!