How to find the maximum value of the first column in multiple matrices excluding the row we selected?
2 views (last 30 days)
Suppose i have created a matrix say X=rand([6,3,2]);
How to find the maximum element in the first column of both the matrices excluding the row we selected ???
e.g: Here i am considering 1:6 (row) as nodes.Suppose i have selected node 2, then we ve to find max element from node 1,3,4,5,6 in the first column. Similarly, from the second matrix also we need to find the maximum element from the first column excluding the row we selected.