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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

fill in matrix element from another element in same matrix

relayman357
11-Garnet

fill in matrix element from another element in same matrix

I'm building a matrix where the off-diagonals are equal (e.g. M(1,3) = M(3,1) etc.).   Is there a way to reference the M(1,3) to populate the M(3,1) element?

 

That way I would just need to populate the diagonal and upper triangle and below the diagonal would be completed.

 

thanks,

russ

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:relayman357)

My two cents:

LucMeekes_0-1663838522682.png

Success!
Luc

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:relayman357)

A tiny user-defined function may do the job:

Werner_E_1-1663814074733.png

 

 

 

LucMeekes
23-Emerald III
(To:relayman357)

My two cents:

LucMeekes_0-1663838522682.png

Success!
Luc

Announcements

Top Tags