필터 지우기
필터 지우기

how to plot a full sine wave using quarter wave in MATLAB?

조회 수: 8 (최근 30일)
yuvarani divakaramoorthy
yuvarani divakaramoorthy 2019년 2월 5일
댓글: yuvarani divakaramoorthy 2019년 2월 8일
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
Kevin Phung
Kevin Phung 2019년 2월 5일
how were those values generated?
yuvarani divakaramoorthy
yuvarani divakaramoorthy 2019년 2월 8일
i have generated the values using piece wise approximation with two ROM tables and added it. stored those added values in an array

댓글을 달려면 로그인하십시오.

답변 (1개)

Andrey Kiselnikov
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)]);
?

카테고리

Help CenterFile Exchange에서 Get Started with DDS Blockset에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by