This document contains Matlab code that analyzes the power of an RCL circuit. It defines the state space matrices A, B, C, D for the circuit and converts it to a transfer function G. It then uses this transfer function to simulate the step response, impulse response, and response to a sawtooth input signal of the circuit over time.