cyclebasis

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.

인용 양식

Ben Petschel (2026). cyclebasis (https://kr.mathworks.com/matlabcentral/fileexchange/24561-cyclebasis), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Numeric Types에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.1

Fixed a bug where some edges could be missing from the complement of the spanning forest which could cause there to be fewer cycles than expected.

1.0.0.0