R circuit
Version 1.0.0 (38.1 KB) by
Marwa Abdelkareem
Introduction to Electrical Circuits Modeling with Simscape
- Create a new model.
- Add components: Drag a resistor, a voltage source, and a ground from the Simscape library.
- Connect components: Connect the components in series, with the voltage source connected to the resistor . Connect the ground to the negative terminal of the voltage source.
- Set parameters: Assign values to the resistor and voltage source.
- Run simulation: Start the simulation and observe the voltage across the capacitor over time.
Cite As
Marwa Abdelkareem (2026). R circuit (https://www.mathworks.com/matlabcentral/fileexchange/171729-r-circuit), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |