I would like to do the mathmatical modelling then apply it in matlab. This is my trailier. Vp-ip*Rp-Lp*(dip/dt)-Rc*ic = 0 ----- 1 Vp-Lm*(dim/dt) = 0 ------2 i need the modelling of the secondary voltage to the primary and the flux Vs= ? flux= ? I did apply it in matlab but didn't work.