Develop a digital filter that mimics the action of the RL filter shown in Figure. Determine expressions for the coefficients in terms of the time constant and sampling interval T. (Hint: If your circuit equation contains an integral, differentiate with respect to time to obtain a pure differential equation.)
b. Given R = 10 Ω and L = 200mH, sketch the step response of the circuit to scale.
c. Use MATLAB to determine and plot the step response of the digital filter for several time constants. Use the time constant of part (b) and fs = 500Hz. Compare the results of parts (b) and (c).