Simple RC Circuit - Solving in S-domain

Hi All,
I'm trying to work out how you would model a simple Resistor||Capacitor circuit in simulink in the s-domain (i.e. not using simElectronics).
A capacitor and resistor in parallel has the equivalent impedance
Z = R/(1+sCR)
where R is resistance and C is capacitance. Driving this impedance with a current source I, the volt drop V across the circuit is calculated from Ohm's law, i.e.,
V = I * Z = I * R/(1+sCR)
I'm new to simulink and stuck as to how this would be implemented. Would greatly appreciate some pointers.
Thanx!

1 Comment

So what is it exactly that you would like to model in simulink? Are you looking to calculate voltage given a value of R, C, and I?
At the most basic level you could simply go through the math functions in the block library and build an equation to model what you have above, but this is sort of the Brute-Force way to do it.

Answers (0)

This question is closed.

Asked:

on 9 May 2013

Closed:

on 28 Sep 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!