Need help with creating a half/full bridge rectifier output
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
The code is as follows,
clc
clear all
i=1;
for t=0:1e-3:0.2
x(i)=t;
y(i)=10*sin(2*pi*100*x(i));
i=i+1;
end
plot(x,y)
I am tasked with adding an if/else statment on the inside of the for loop to create a half and full bridge rectified signal.
Can anyone help me please?
0 Kommentare
Antworten (1)
Kiran Felix Robert
am 8 Feb. 2021
Hi David,
Refer to this answer thread for half-wave rectifier scripts and an example.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Specialized Power Systems 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!