Path: Electrical/Components
% Dynamical model for an inductor model. Finds current derivative from inductance and voltage. v = l di/dt Returns di/dt or the state space matrices [a, b, c, d] -------------------------------------------------------------------------- Form: [a, b, c, d] = Inductor( l ) or iDot = Inductor( g, v ) -------------------------------------------------------------------------- ------ Inputs ------ g (1,1) Data structure .l (1,1) Inductance v (1,1) Voltage ------- Outputs ------- iDot or a (1,1) Current derivative or state matrix b (1,1) Input matrix c (1,1) Output matrix d (1,1) Feedthrough matrix --------------------------------------------------------------------------
Back to the Electrical Module page