happykaren100
Technical User
thread214-1724643
Referring to previous post regarding the calculation of rank of the matrix. I can successfully call the function DGESVD and used the suggested code as stated in the last post.
When I computed the matrix ( 24 * 46 ) which only contains binary number. The result is computed as follows:
1 3.64607217729591
2 3.11579149211648
3 2.91200000461928
4 2.83459107977961
5 2.68999404785583
6 2.63985870332852
7 2.53258922551712
8 2.28824561127074
9 2.15657793810757
10 2.07466293751602
11 2.00000000000000
12 1.71147369543826
13 1.66250775110981
14 1.65538411163519
15 1.37754379874545
16 1.22587722267226
17 0.911529570151319
18 0.874032048897643
19 0.494678447008250
20 6.045268993254451E-016
21 4.206043210176423E-016
22 2.807232732494245E-016
23 1.832673728789574E-016
24 1.198908543433525E-016
25 3.075086004790109E-016
26 2.026892056278003E-016
27 1.326887916710233E-016
28 1.214346864222148E-029
29 2.433781731624030E-016
30 1.175548892892689E-016
31 7.208199020880733E-017
32 9.370490339002574E-033
33 1.28834274428350
34 1.01863211799745
35 0.770903711971019
36 4.499908304387861E-016
37 3.451198625651696E-016
38 2.806044838432099E-016
39 2.373229207430789E-016
40 1.365710281383188E-016
41 9.182776887501775E-017
42 7.279931258765407E-017
43 1.573105791821282E-033
44 0.000000000000000E+000
45 2.368277042556670E-016
46 1.544118454433936E-303
Rank of the Matrix = 22
The rank of the matrix is incorrect. May I know how can I count the rank of the matrix from the above computed solution?
Thanks
Referring to previous post regarding the calculation of rank of the matrix. I can successfully call the function DGESVD and used the suggested code as stated in the last post.
When I computed the matrix ( 24 * 46 ) which only contains binary number. The result is computed as follows:
1 3.64607217729591
2 3.11579149211648
3 2.91200000461928
4 2.83459107977961
5 2.68999404785583
6 2.63985870332852
7 2.53258922551712
8 2.28824561127074
9 2.15657793810757
10 2.07466293751602
11 2.00000000000000
12 1.71147369543826
13 1.66250775110981
14 1.65538411163519
15 1.37754379874545
16 1.22587722267226
17 0.911529570151319
18 0.874032048897643
19 0.494678447008250
20 6.045268993254451E-016
21 4.206043210176423E-016
22 2.807232732494245E-016
23 1.832673728789574E-016
24 1.198908543433525E-016
25 3.075086004790109E-016
26 2.026892056278003E-016
27 1.326887916710233E-016
28 1.214346864222148E-029
29 2.433781731624030E-016
30 1.175548892892689E-016
31 7.208199020880733E-017
32 9.370490339002574E-033
33 1.28834274428350
34 1.01863211799745
35 0.770903711971019
36 4.499908304387861E-016
37 3.451198625651696E-016
38 2.806044838432099E-016
39 2.373229207430789E-016
40 1.365710281383188E-016
41 9.182776887501775E-017
42 7.279931258765407E-017
43 1.573105791821282E-033
44 0.000000000000000E+000
45 2.368277042556670E-016
46 1.544118454433936E-303
Rank of the Matrix = 22
The rank of the matrix is incorrect. May I know how can I count the rank of the matrix from the above computed solution?
Thanks