how to generate full wave rectified sine wave?

103 views (last 30 days)
how to generate full wave rectified sine wave of frequency 2KHz, amplitude +/- 0.2 and duration of 1 millisecond ?

Accepted Answer

Mischa Kim
Mischa Kim on 2 Mar 2014
Edited: Mischa Kim on 2 Mar 2014
Hello Thar, attach an Abs (for absolute) block from the Math Operations library to the Sine Wave generator (Sources). In the Sine Wave block you can define the signal parameters (frequency, amplitude). 1 ms would be the simulation stop time.
Similarly, in MATLAB,
t = 0:1e-5:1e-3;
y = abs(0.2 * sin(2*pi*2e3*t));
plot(t,y)

More Answers (3)

Yahia Abouzahra
Yahia Abouzahra on 15 Mar 2019
t = 0:1e-5:1e-3;
y = abs(0.2 * sin(2*pi*2e3*t));
plot(t,y)

Vipin K Mishra
Vipin K Mishra on 3 Oct 2016

ABIJITH MANTHRAVALAPPIL MURALEEDHARAN
how should we calculate diode current in full wave bridge rectifier RL LOad
to plot diode graph

Categories

Find more on Specialized Power Systems in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!