Use as:
A = BAgraph_dir(N,m0,m);
Where, N = number of nodes in the network, m0 is the size of seed network and m is the average degree of seed network; use mo=m or m<m0. For example,
A = BAgraph_dir(300,10,10);
The resulting adjacency matrix contains a 1 in row i, column j if i connects to j. A has a power-law in-degree distribution. Please be patient as the algorithm may take ~2-3 minutes to generate an adjacency matrix for N=300.
인용 양식
Tapan (2025). Scale free network using B-A algorithm (https://kr.mathworks.com/matlabcentral/fileexchange/49356-scale-free-network-using-b-a-algorithm), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2013b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Graph and Network Algorithms에 대해 자세히 알아보기
태그
도움
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
