Skip to content

Commit d044138

Browse files
authored
Create RLC Circuit Graph
1 parent 882373e commit d044138

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

RLC Circuit Graph

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
E=10; R=1; C=1; L=1;
2+
t=[0:0.01:1];
3+
vct=dsolve('D2v=-Dv-v+10','Dv(0)=0,v(0)=0');
4+
fplot(vct,[0 20])
5+
axis([0 20 0 20])
6+
grid on
7+
ylabel('v(t)')
8+
xlabel('time(seconds)')

0 commit comments

Comments
 (0)