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.
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
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
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.
* 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/
Updated link to MATLAB courseware materials.
Verified demo compatibility for releases from R2014a up to R2017a.
Added link to recorded Webinar and converted to new MATLAB Toolbox file format .
Fixed a typo.
Added an empty space in the Description text
Create scripts with code, output, and formatted text in a single executable document.