Need help with creating a half/full bridge rectifier output
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Kiran Felix Robert
2021-2-8
Hi David,
Refer to this answer thread for half-wave rectifier scripts and an example.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specialized Power Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!