mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
Remove unused variable debarr.
Add another example.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
dd test 2 with .func
|
||||
ddt test 2 with .func
|
||||
|
||||
V1 1 0 dc 0 pulse 0 2 0 1 1 1 4
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
ddt test 3 with RC
|
||||
|
||||
V1 1 0 dc 0 pulse 0 2 1u 1n 1n 100u 200u
|
||||
R1 1 2 1k
|
||||
C1 2 0 1u
|
||||
|
||||
B2 22 0 v = ddt(V(2))/1000
|
||||
|
||||
.tran 100n 3m
|
||||
|
||||
.control
|
||||
run
|
||||
plot v(2) v(22)
|
||||
*print v(22)
|
||||
.endc
|
||||
|
||||
.end
|
||||
Reference in New Issue
Block a user