Virginia Tech ME 2004: Subplots in MATLAB
This video plots the charge on a capacitor over time in an RLC circuit using MATLAB. We make three subplots (with various time ranges) illustrate the importance of choosing proper axis limits.
Blank .m file: https://bit.ly/RLCcircuit_blank
Master (complete and commented) file: https://bit.ly/RLCcircuit_master
Problem statement: https://bit.ly/RLCcircuit_problem
subplot() documentation: https://www.mathworks.com/help/matlab...
sgtitle() documentation: https://www.mathworks.com/help/matlab...