Well, I upload a new version of my code. What I'm trying to make is an dc to ac inverter. I use method Runge Kutta extract current It and If. It is possitive, but If is negative(it should be possitive too). Also, for my possitive value of current It (about 48) I should take a possitive and rate...
Thanks for your reply...I will try to be more clear in a new pdf soon. I guess that you were confused because I actually use countercurrent...I will post a new version soon
I'm working on this subject. I'm trying to make a MATLAB emulation on this subject. In tha attached pdf I have the equations and the MATLAB code. You think that the graphs below are correct. You think that the current graph shouldn't be "negative".
I will be glad to see your comments.