Skip to content

Instantly share code, notes, and snippets.

@freemin7
freemin7 / mos.jl
Last active December 30, 2020 15:01 — forked from pepijndevos/mos.jl
using ModelingToolkit
using StructuralTransformations
using OrdinaryDiffEq
using IfElse: ifelse
using Plots
function NMOS_L1(Vg, Vd, Vs, Vth, W, L, uCox)
Vgs = Vg-Vs
Vds = Vd-Vs