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.
引用格式
Ben Petschel (2024). cyclebasis (https://www.mathworks.com/matlabcentral/fileexchange/24561-cyclebasis), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2009a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Numeric Types 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!