Skip to main content
1-Visitor
May 23, 2017
Solved

Iterate over matrix?

  • May 23, 2017
  • 4 replies
  • 2229 views

In the attached MathCAD 3.1 worksheet and screenshot I'm attempting to determine the left reaction force for three beams of the same length with different loadings. The equation works for one beam but I'd like it to work for all 3 (or more). Each row of the pp matrix gives the 2 loads on each of the 3 beams. The y vector gives the load application point on each beam (it's the same for each beam).

My question is, how do I iterate the equation for R over the three beams such that the resultant is a [3x1] vector giving the R (reaction) for each beam?

Best answer by -MFra-

reazioni.jpg

4 replies

-MFra-21-Topaz IIAnswer
21-Topaz II
May 23, 2017

reazioni.jpg

23-Emerald I
May 23, 2017

Not sure I manipulated your equation correctly (show me a one-beam example)

25-Diamond I
May 23, 2017

You can't multiply a 3 x 2 matrix (pp) with a 1 x 2 matrix (l.beam - y). It has to be a 2 x 1 matrix.

Simply don't transpose y and it works

dsochor1-VisitorAuthor
1-Visitor
May 23, 2017

Thank you all, is there a way to mark everyone's answer as correct so you all get the points?