Stuck with electronic circuit simulation..
1 view (last 30 days)
Shoaibur Rahman on 11 Jan 2015
R = 1; L = 1; C = 1; % replace by your values
w = 50; % replace by frequency
Z = R+1j*w*L+1./(1j*w*C); % impedence of the circuit
t = 0:0.1:10;
U = sin(t); % voltage
I = U/Z; % current
Now you can find voltages accross other elements.