This app explains the concept of phase difference between current and voltage, concept of leading lagging and power in R, L, C circuit.
1) Select type of circuit i. e. R or L or C by clicking on drop down menu.
2) Then press Plot V, I and power Button to see the waveforms for selected type of circuit.
3) You can change the frequency and values of R, L and C also. Remember the effect of changing R, L and C values will be effective only for the type of circuit selected.
Nitin Phadkule (2022). RLC AC Circuit App (https://www.mathworks.com/matlabcentral/fileexchange/94755-rlc-ac-circuit-app), MATLAB Central File Exchange. 取得済み .