Path: Electrical/Components
% Dynamical model for a diode. Determines output current. vO = v if v > g.vDiode. Returns vO or the state space matrices [a, b, c, d]. The state space model is for the operating region when v > v.vDiode -------------------------------------------------------------------------- Form: [a, b, c, d] = Diode( g ) or vO = Diode( g, v ) -------------------------------------------------------------------------- ------ Inputs ------ g (1,1) Data structure .vDiode (1,1) Diode voltage v (1,1) Voltage ------- Outputs ------- vO or a (1,1) Output current b (1,1) Input matrix c (1,1) Output matrix d (1,1) Feedthrough matrix --------------------------------------------------------------------------
Common: Graphics/Plot2D
Back to the Electrical Module page