DC Circuit Analysis

版本 1.0.3 (6.0 MB) 作者: Chad Allie
Virtual labs for DC circuit analysis.

1.2K 次下载

更新时间 2022/5/17

来自 GitHub

在 GitHub 上查看许可证

DC Circuit Analysis View DC Circuit Analysis on File Exchange

Curriculum Module
Created with R2021b. Compatible with R2021b and later releases.


This curriculum module teaches DC circuit analysis using interactive live scripts and Simscape™ models. Essential topics such as mesh analysis, RLC circuits, and op amps (among others) are discussed. The materials contain two components for each topic: an introduction and a virtual lab. The introduction explains the technique and offers opportunities to develop intuition using simulation. In the labs, students apply their knowledge to analyze circuits, take measurements, and design circuits to meet requirements. Throughout the module, virtual analogs to standard instruments are used to familiarize students with standard measurement procedures. In the penultimate module, students measure the transient responses of overdamped, underdamped, and critically damped RLC circuits using a virtual signal generator and oscilloscope.

Get started with the DC Circuit Analysis curriculum module by downloading and unzipping the repository. Then, double-click the project .prj file inside MATLAB®. From there, you can follow the landing page instructions to get started with the examples and labs.


Module Learning Goals
1. Mesh Analysis
  • Use mesh analysis to compute currents through a linear circuit.
  • Solve the matrix form of circuit equations in MATLAB.
  • Model and analyze linear circuits in Simscape.
2. Nodal Analysis
  • Use nodal analysis to compute voltages.
  • Solve the matrix form of circuit equations in MATLAB.
  • Model and analyze linear circuits in Simscape.
3. Thevenin and Norton Equivalent Circuits
  • Explain Thevenin and Norton equivalent circuits.
  • Solve for Thevenin and Norton equivalents.
  • Compare circuits to their Thevenin and Norton equivalents.
4. RC Circuits
  • Simulate charging and discharging RC circuits.
  • Plot solutions of RC circuit differential equations.
  • Measure the time constant of an RC circuit.
5. RLC Circuits
  • Compare the response of first and second order circuits.
  • Analyze a second order RLC circuit differential equation.
  • Solve for the natural frequency and damping in an RLC circuit.
  • Compare underdamped, overdamped, and critically damped circuits.
6. Op Amps
  • Describe the open-loop behavior of an op amp.
  • Compare ideal and non-ideal op amp behavior.
  • Analyze negative feedback op amp circuits.
  • Design circuits using combinations of basic op amp circuits.

How-to Videos

These short videos demonstrate some of the basic techniques used to simulate and measure circuits in the module.


Note: The videos can be viewed from the GitHub repository readme.

Suggested Prework

MATLAB Onramp – a free two-hour introductory tutorial that teaches the essentials of MATLAB.

Circuit Simulation Onramp – a free two-hour introductory tutorial that teaches the basics of simulating electrical circuits in Simscape.


MATLAB, Simulink®, Simscape, Simscape Electrical™, DSP System Toolbox™


The license for this module is available in the LICENSE.md file in this GitHub repository.

Educator Resources

The lab solutions are available upon instructor request. If you would like to request solutions or have a question, contact the MathWorks online teaching team.

Copyright 2021 The MathWorks, Inc.


Chad Allie (2022). DC Circuit Analysis (https://github.com/MathWorks-Teaching-Resources/DC-Circuit-Analysis/releases/tag/v1.0.3), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021b
兼容 R2021b 及更高版本
Windows macOS Linux
 Distance Learning 社区中有更多文件

Community Treasure Hunt

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

Start Hunting!
要查看或报告此 GitHub 附加功能的问题,请访问其 GitHub 仓库
要查看或报告此 GitHub 附加功能的问题,请访问其 GitHub 仓库