cyclebasis
Versión 1.1 (3,21 KB) por
Ben Petschel
Find a basis for the cycle subspace of a graph/network.
This can be used for finding the linearly independent equations derived from Kirchhoff's second law. This function finds a set of fundamental cycles that will correspond to linearly independent circuit conservation equations.
Example: fundamental cycles of complete graph on 4 vertices including self-loops at each vertex:
cyclebasis(ones(3,3),'path') % returns {1,2,[1,2,3],3}
See the help text for more details.
Citar como
Ben Petschel (2024). cyclebasis (https://www.mathworks.com/matlabcentral/fileexchange/24561-cyclebasis), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Numeric Types en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.