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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Element position of matrix

RR_10484311
4-Participant

Element position of matrix

Hello, how can I find position of known element in matrix if I know that element exists in matrix (column and row index). I tried with match function and I put small value for tolerance (as you can see in attached file test.mcdx) and I'm getting 2x1 for which I know that is not the right position. Also, it would be nice if you propose me the solution with separated index for column and for row.

Thanks in advance!

ACCEPTED SOLUTION

Accepted Solutions

Hi,

The 2x1 matrix returned by match is the row and column index to the match.  By default index starts at zero.

Capture.JPG

View solution in original post

2 REPLIES 2

Hi,

The 2x1 matrix returned by match is the row and column index to the match.  By default index starts at zero.

Capture.JPG

Werner_E
25-Diamond I
(To:RR_10484311)

Werner_E_0-1691577758283.png

 

Announcements

Top Tags