how to plot a full sine wave using quarter wave in MATLAB?
조회 수: 2 (최근 30일)
이전 댓글 표시
i have genearted quarter sine wave values and saved it in an array and plotted it to get a quarter sine wave. from this array how can i generate a whole sine wave?
댓글 수: 2
답변 (1개)
Andrey Kiselnikov
2019년 2월 5일
Did you mean this:
phase = 0:0.01:pi/2;
q_wave = sin(phase);
plot ([q_wave,fliplr(q_wave),q_wave.*-1,fliplr(q_wave.*-1)]);
?
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!