1,860
edits
(7 intermediate revisions by 4 users not shown) | |||
Line 658: | Line 658: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
[[File:VCVS_result.png|thumb| Result of the VCVS simulation]] | |||
To run a simulation with this circuit use the following commands: | |||
{{Code|Run a simple transient simulation with the VCVS circuit |<syntaxhighlight lang="octave" style="font-size:13px"> | {{Code|Run a simple transient simulation with the VCVS circuit |<syntaxhighlight lang="octave" style="font-size:13px"> | ||
Line 665: | Line 669: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
=== 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.: | ||
Carbajal, J. P. et al. | |||
[http://www.mitpressjournals.org/doi/abs/10.1162/NECO_a_00694?journalCode=neco#.VgFNn9tSukp Memristor models for machine learning]. | |||
Neural Computation, 27(3), 2015. | |||
doi:10.1162/NECO_a_00694 | |||
The device model is presented in the original paper as | The device model is presented in the original paper as | ||
Line 904: | Line 912: | ||
The results are shown in the figure to the right. | The results are shown in the figure to the right. | ||
[[Category:Octave | == Dependencies == | ||
=== Odepkg === | |||
Ocs depends on [[Odepkg | ''odepkg'']] that is not anymore part of the [[Octave Forge]] project. | |||
However, ''odepkg'' still works as of 2020, and instructions to install it are available [[Odepkg | in this wiki]]. | |||
[[Category:Octave Forge]] |