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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

How to find the index and the corresponding value in a matrix?

Cornel
18-Opal

How to find the index and the corresponding value in a matrix?

Hello,

Lets say that I have this matrix:

Cornel_0-1713452538758.png
I want to find the index at which the maximum value in the second column is obtained, and the corresponding value at that index in the first column.
Like below:

Cornel_4-1713452896451.png

Mathcad Prime 9 file.

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:Cornel)

You may want to familiarize yourself with the "match" and "lookup" commands in the help section.

 

Werner_E_0-1713456893762.png

or alternative with the use of variables

Werner_E_0-1713458141220.png

 

View solution in original post

1 REPLY 1
Werner_E
24-Ruby V
(To:Cornel)

You may want to familiarize yourself with the "match" and "lookup" commands in the help section.

 

Werner_E_0-1713456893762.png

or alternative with the use of variables

Werner_E_0-1713458141220.png

 

Top Tags