cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

minimum value in each column in several matrices

YA_10963798
10-Marble

minimum value in each column in several matrices

I hope you are doing well. 

I need to take this sheet a step further.  Now after we get 24 matrics . I need to find the minimum value in each column in each matrix. 

For example: matrix Linters 23 will have a matrix of the minimum values of each colunm . I tried to do it as follows but couldn't get what i want since it gives me the minimum in the whole matrix . I need  the minimum in each column in each matrix.

Like in excel you select the colunum and find the minimum in that column. Sorry for bothering you a lot. But I genuinely appreciate your help

YA_10963798_0-1715066551554.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

You could use a utility function which take a matrix as its input and returns a row vector with the minimum values of each column

Werner_E_0-1715080818034.png

You may apply this function to individual matrices of L.inters

Werner_E_1-1715080850819.png

Werner_E_2-1715080861472.png

or create a table with all 24 rows

Werner_E_3-1715080939841.png

 

You may create the very same table in on go, too

Werner_E_4-1715081107523.png

 

 

 

View solution in original post

1 REPLY 1

You could use a utility function which take a matrix as its input and returns a row vector with the minimum values of each column

Werner_E_0-1715080818034.png

You may apply this function to individual matrices of L.inters

Werner_E_1-1715080850819.png

Werner_E_2-1715080861472.png

or create a table with all 24 rows

Werner_E_3-1715080939841.png

 

You may create the very same table in on go, too

Werner_E_4-1715081107523.png

 

 

 

Top Tags