Editing Ocs package
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 186: | Line 186: | ||
{{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 , | func (string , m(i ,:) , extvar , intvar , t) | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
i.e. it should get as inputs: | i.e. it should get as inputs: | ||
Line 574: | Line 574: | ||
}} | }} | ||
=== Creating a model for a memristor device === | === Creating a model for a memristor device === | ||
To demonstrate how to write a model evaluator file (SBN file), we | To demonstrate how to write a model evaluator file (SBN file), we | ||
will discuss the simplest memristor model shown in this paper by [[User:KaKiLa| KaKiLa]] et al. | will discuss the simplest memristor model shown in this paper by [[User:KaKiLa| KaKiLa]] et al. (KaKiLa, can you please add a reference to the paper?) | ||
The device model is presented in the original paper as | The device model is presented in the original paper as | ||
Line 911: | Line 811: | ||
The results are shown in the figure to the right. | The results are shown in the figure to the right. | ||