Skip to main content
1-Visitor
February 28, 2014
Question

Substituting Matrix into an equation with Matrix (Pile Interaction)

  • February 28, 2014
  • 3 replies
  • 1225 views

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

3 replies

19-Tanzanite
February 28, 2014

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.

25-Diamond I
February 28, 2014

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

1-Visitor
February 28, 2014

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

Regards

25-Diamond I
February 28, 2014

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?