Skip to main content
. 2024 Feb 22;24(5):1423. doi: 10.3390/s24051423
Algorithm 2: Optimality collation of sensor orientations using Grey Relational Analysis
Input: Fitness value matrix f
(1) Normalize the matrix f  using Equation (15)
(2) For i = 1 : n
(3) a. For j = 1 : k
(4)  i. Calculate the grey relational coefficient γij using Equation (16)
(5)  b. end for 
(6) end for  
(7) Generate a graph object from γij
(8) Calculate the between gv for each element 
(9) OSPindx=maxgv