How to Design and Simulate Electrical Systems in MATLAB