File Exchange

image thumbnail

RLC circuit demo bundle

version 1.3.2 (731 KB) by Mischa Kim
Analyze the RLC series circuit using different modeling approaches and with hardware

15 Downloads

Updated 16 Apr 2018

View License

This demo bundle demonstrates how to model and analyze a dynamical system – the RLC circuit – in MATLAB, Simulink, and Simscape and how to seamlessly move between these modeling environments. The corresponding hardware experiment is analyzed with a low-cost data acquisition hardware platform.

Example files:
RLC_symbolic.m: model and analyze circuit using symbolic math
RLC_nonlinear.m: model and analyze circuit using numeric math
RLC_nonlinear.pdf: documentation generated with MATLAB’s publish feature
RLC_simulink.slx: model and analyze circuit using graphical modeling
RLC_simscape.slx: model and analyze circuit using physical modeling
RLC_AnalogDiscovery.m: analyze hardware circuit using the DAQ toolbox
RLC_AnalogDiscovery.pdf: documentation generated with MATLAB’s publish feature

Support material:
data_bode.mat: hardware measurement data file
data_step.mat: hardware measurement data file
Comp_Bode.fig: plot comparing theory and hardware experiment
Comp_Step.fig: plot comparing theory and hardware experiment
RLC_model.PNG: Simscape model screenshot
RLC_schematic.PNG: schematic for hardware experiment
license.txt
Note: these are the example files that are used in a recorded Webinar on experimenting in teaching (available at http://www.mathworks.com/videos/learn-effective-efficient-experimenting-with-matlab-98172.html). This Webinar discusses some of the teaching challenges and presents approaches and techniques to efficiently create, perform and evaluate experiments.

Webinar resources:
* Interactive tutorials: http://www.mathworks.com/academia/student_center/tutorials/?s_tid=acport_tut_sp_til
* Online courseware: https://www.mathworks.com/academia/courseware.html?s_tid=acport_cw_ep_til
* Hardware catalogue: http://www.mathworks.com/hardware-support/index.html?suggestion=
* Cody Coursework: https://coursework.mathworks.com/

Comments and Ratings (2)

Konstantin

Very good

Updates

1.3.2

Updated link to MATLAB courseware materials.

1.3.2.0

Verified demo compatibility for releases from R2014a up to R2017a.

1.3.0.1

Updated license

1.3.0.0

Added link to recorded Webinar and converted to new MATLAB Toolbox file format .

1.2.0.0

Fixed a typo.

1.1.0.0

Added an empty space in the Description text

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor