-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPFReadMe.txt
More file actions
executable file
·66 lines (47 loc) · 2.51 KB
/
PFReadMe.txt
File metadata and controls
executable file
·66 lines (47 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
To run the code, use Matlab
simply run:
>PerronFrobenius (n), where n is the size of the square matrix
Examples of runs:
>> PerronFrobenius (5)
A =
0.0072 0.1668 0.5955 0.1060 0.1246
0.1868 0.2098 0.2271 0.0587 0.3176
0.3623 0.5302 0.0262 0.0267 0.0546
0.3160 0.3050 0.1079 0.0214 0.2498
0.2911 0.2358 0.2870 0.1392 0.0469
res =
0.2185 0.2937 0.2570 0.0710 0.1598
0.2185 0.2937 0.2570 0.0710 0.1598
0.2185 0.2937 0.2570 0.0710 0.1598
0.2185 0.2937 0.2570 0.0710 0.1598
0.2185 0.2937 0.2570 0.0710 0.1598
>> PerronFrobenius (3)
A =
0.4876 0.1144 0.3980
0.3873 0.2081 0.4046
0.3593 0.3617 0.2789
res =
0.4194 0.2236 0.3570
0.4194 0.2236 0.3570
0.4194 0.2236 0.3570
>> PerronFrobenius (9)
A =
0.1579 0.6272 0.1764 0.0380 0.0003 0.0000 0.0001 0.0000 0.0000
0.1516 0.0706 0.1286 0.1486 0.1905 0.2773 0.0209 0.0051 0.0068
0.4271 0.2425 0.0790 0.2299 0.0213 0.0001 0.0000 0.0000 0.0000
0.3781 0.5294 0.0425 0.0147 0.0215 0.0035 0.0047 0.0045 0.0010
0.0863 0.0780 0.7533 0.0257 0.0533 0.0026 0.0007 0.0000 0.0001
0.2300 0.2414 0.1541 0.1283 0.2269 0.0046 0.0132 0.0002 0.0013
0.1578 0.4959 0.3201 0.0153 0.0028 0.0059 0.0005 0.0003 0.0014
0.0212 0.6772 0.2935 0.0031 0.0031 0.0000 0.0015 0.0001 0.0003
0.2885 0.2489 0.4517 0.0051 0.0055 0.0002 0.0000 0.0000 0.0000
res =
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023
0.2285 0.2989 0.1802 0.1093 0.0869 0.0840 0.0080 0.0020 0.0023