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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Substituting Matrix into an equation with Matrix (Pile Interaction)

ptc-5086232
1-Newbie

Substituting Matrix into an equation with Matrix (Pile Interaction)

Good Morning Community,

Attached is a working copy the community was helping to resolve on previous post. In the attached file, I'm trying to substutite a matrix S_sub_p into an equation lamda, that yield a matrix and then subtitute lamda into alpha_sub_V to generate pile interaction. Previously I posted the PDF copy of the example was working on. Please help me to see what I'm doing wrong.

Regards,

Boyer

4 REPLIES 4
RichardJ
19-Tanzanite
(To:ptc-5086232)

To take the log of a matrix you have to explicitly vectorize everything in the parentheses. However D*Sp has zeros on the diagonal, so then you get a divide by zero error. You will have to figure out what to do about that.

Werner_E
25-Diamond I
(To:ptc-5086232)

Does turning Gamma into a function of S.p solve your problem?

Thanks you so very much Werner. I tried that approach, but my work sheet was yielding an error message. Thanks again.

Regards

Werner_E
25-Diamond I
(To:ptc-5086232)

but my work sheet was yielding an error message.

Maybe because of your redefinition of Gamme as a matrix. Notice that I have deactivated this region.

Or do you mean that the sheet I posted throws an error for you?

Announcements

Top Tags