Verification of Superposition Theorem:
If we add algebraically respective branch currents and node voltages when each current source acting alone (i.e. current and voltages in panel two and panel three), we will get respective branch current and node voltages when both current sources are acting (i.e. current and voltages in panel one).
In this way you can verify superposition theorem for given parameter values. You can change the parameter values on main circuit panel one(only). These changed values will get populated in all two panels automatically.
Follow steps 1 to 4 in chronological order or you can click ''Solve all circuit simultaneously" button and can observe all current and voltages.
Nitin Phadkule (2024). Superposition Theorem with Current Sources (https://www.mathworks.com/matlabcentral/fileexchange/94945-superposition-theorem-with-current-sources), MATLAB Central File Exchange. 取得済み .