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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

5-Regular Member

## Iterate over matrix?

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?

1 ACCEPTED SOLUTION

Accepted Solutions
21-Topaz II
(To:dsochor)
4 REPLIES 4
21-Topaz II
(To:dsochor)

23-Emerald I
(To:dsochor)

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

24-Ruby V
(To:dsochor)

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

5-Regular Member
(To:dsochor)

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

Announcements
Top Tags