Filter löschen
Filter löschen

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

8 Ansichten (letzte 30 Tage)
yuvarani divakaramoorthy
yuvarani divakaramoorthy am 5 Feb. 2019
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 Kommentare
Kevin Phung
Kevin Phung am 5 Feb. 2019
how were those values generated?
yuvarani divakaramoorthy
yuvarani divakaramoorthy am 8 Feb. 2019
i have generated the values using piece wise approximation with two ROM tables and added it. stored those added values in an array

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Andrey Kiselnikov
Andrey Kiselnikov am 5 Feb. 2019
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)]);
?

Kategorien

Mehr zu Get Started with DDS Blockset finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by