Resistance Calculator
The calculation is based on KVL and KCL equations. Set currents on each branch to unknowns. Denote the number of nodes as N, and the number of edges as M. (M-(N-1)) independent loops can be obtained by a breadth-first search, from which (M-(N-1)) KVL equations can be wrote. Together with (N-1) KCL equations, the equivalent resistance can be computed by solving linear equations.
Zitieren als
Ligong Han (2026). Resistance Calculator (https://de.mathworks.com/matlabcentral/fileexchange/42521-resistance-calculator), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert: Round to Electronic Component Values
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 2.0 | two improvements regarding time efficiency:
|
|
|
| 1.4.0.0 | - fixes bugs when parallel resistance exists in the initial net-matrix, such as resistance_calculator([1 2 1;1 2 1],[1 2]) |
|
|
| 1.3.0.0 | - updates vTree
|
|
|
| 1.2.0.0 | - Updated vTree |
|
|
| 1.1.0.0 | rewrote and optimised the whole structure, added two classes |
|
|
| 1.0.0.0 |
