Ocs package: Difference between revisions

25 bytes added ,  22 September 2015
Line 86: Line 86:


{{Code|Model evaluator file for simple MOSFET models |<syntaxhighlight lang="octave" style="font-size:13px">
{{Code|Model evaluator file for simple MOSFET models |<syntaxhighlight lang="octave" style="font-size:13px">
function [a,b,c ,] =...
function [a, b, c] =...
func (string , m(i ,:) , extvar , intvar , t)
func (string , m(i ,:) , extvar , intvar , t)
</syntaxhighlight>}}
</syntaxhighlight>}}
Line 95: Line 95:
* the current time
* the current time
and it should produce as outputs three matrices:
and it should produce as outputs three matrices:
* <math>a, b \in \mathbb{R}^{(n_extvar + n_intvar) \times (n_extvar + n_intvar)}</math>
* <math>a, b \in \mathbb{R}^{({n_{extvar}} + {n_{intvar}})  
* <math>c \in \mathbb{R}^{(n_extvar + n_intvar)}</math>
\times ({n_{extvar}} + {n_{intvar})}}</math>
* <math>c \in \mathbb{R}^{({n_{extvar}} + {n_{intvar}})}</math>
where "n_intvar" is the number of internal variables that can be assembled in the complete system matrices.
where "n_intvar" is the number of internal variables that can be assembled in the complete system matrices.


349

edits