Help writing and solving a problem
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I'm having a hard time with this problem regarding ideal diode and voltage. I am given the voltage across load
VL=
vs if vs > 0 | 0 if vs <=0
Supply voltage is given by:
vs(t) = 3e^(-t/3)sin(pi*t)
I have to plot VL versus t for 0 <= t <= 10
I've tried using a for loop but I can't get it figured out.
Can someone help?
0 Commenti
Risposta accettata
Walter Roberson
il 1 Apr 2012
VL = vs;
VL(vs < 0) = 0;
3 Commenti
Walter Roberson
il 1 Apr 2012
That's because you are using only integer t . sin(pi times an integer) is always 0.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Power Converters in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!