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

Prepare Element

SPRstructur
15-Moonstone

Prepare Element

Dear all

I try to find A that A is function that have Node and Member_Node as variable as Pic&File attachment.

Thank you
Q3.PNG

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:SPRstructur)

I was not sure if the matrix Member_Node would always have exactly two columns, so I made a function which can also deal with arbitrary dimensions of Member_Node:

Werner_E_0-1611830268387.png

 

In case you want Label_Node and also the result to be simple matrices rather than the nested ones you had shown, you may just change the vector index for the row selector.

Werner_E_1-1611830453162.png

Changes for simple Input matrix in yellow

Change for simple output matrix in red

 

Prime 6 sheet attached

 

 

View solution in original post

4 REPLIES 4
LucMeekes
23-Emerald III
(To:SPRstructur)

Here's your function:

LucMeekes_4-1611827647595.png

Be carefull when translating to Prime:

'm, ORIGIN' is an index (not a subscript) of M

The whole 'M m,ORIGIN' in turn is a subscript to Ln.

Results:

LucMeekes_3-1611827545197.png

Success!
Luc

 

Great Work 👍👍👍

Werner_E
25-Diamond I
(To:SPRstructur)

I was not sure if the matrix Member_Node would always have exactly two columns, so I made a function which can also deal with arbitrary dimensions of Member_Node:

Werner_E_0-1611830268387.png

 

In case you want Label_Node and also the result to be simple matrices rather than the nested ones you had shown, you may just change the vector index for the row selector.

Werner_E_1-1611830453162.png

Changes for simple Input matrix in yellow

Change for simple output matrix in red

 

Prime 6 sheet attached

 

 

SPRstructur
15-Moonstone
(To:Werner_E)

Great Work 👍👍👍👍

Announcements

Top Tags