blob: 2650dbe6849620bd775ac81f0f429b76117d3df2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example14.4 // determine the output voltage of the switching regulator circuit
clc;
clear;
close;
d = 0.7 ; // duty cycle
Vin = 5 ; // V // input voltage
// The output voltage of switching regulator circuit is given by
Vo = d*Vin ;
disp('The output voltage of switching regulator circuit is = '+string(Vo)+' V ');
|