Calculating axial stresses of different beams

12 views (last 30 days)
If I have several beams(the number of beams can change ) with different dimensions ( different cross-sectional areas),all these beams are acted upon by the same axial forces of the same magnitude.How can I create a loop or a statement that will calculate the axial stress of each beam at the time using the formala axialstress=axialforce/area

Accepted Answer

James Tursa
James Tursa on 2 May 2019
Edited: James Tursa on 2 May 2019
E.g., maybe using the element-wise division operator is all you need:
axialforce = a scalar or vector of axial forces
area = a vector of the cross sectional areas
axialstress = axialforce ./ area;
  1 Comment
LINDO MTSWENI
LINDO MTSWENI on 2 May 2019
I'm so sorry my bad , actually the axialforce is distributed along the bean's length which is 2000mm ( though its magnitude doesn't change)..the axialforce is a 2001 by 1 matrix and the there are several number of beams with diffrent sectional areas..

Sign in to comment.

More Answers (0)

Categories

Find more on Stress and Strain in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!