Matlab
These programs were developed using Matlab 7.0. The programs are released under the terms of the GNU General Public License.
Continuous Beam Analysis – General
This is a general beam analysis program. It uses the stiffness method to determine the rotations at each support. These are then used to determine the member end forces. Exact expressions are then used to determine the distribution of shear, moment, rotation and deflection along each member. The program features:
- Multiple load types: point load; uniformly distributed load; patch load, and; moment load;
- Spring supports, both vertical and rotational, enabling it to be used as part of a subframe analysis;
- Results are output at 100 positions along each span, enable accurate deflection estimation.
Better yet, the program forms the analysis engine for two auxiliary programs, extending its range of applicability significantly.
Note that Section 15 of the GNU GPL, Disclaimer of Warranty, and Section 16, Limitation of Liability, are particularly pertinent to this engineering design program.

CBA showing a subframe analysis
Continuous Beam Analysis – Envelope
This is an extension to the general beam analysis program. It automatically patterns applied loading to obtain envelopes of maximum and minimum load effects. The user can specify the maximum and minimum dead and live load factors.
Note that the files for CBA-Env must be put in the same folder as CBA.
Note that Section 15 of the GNU GPL, Disclaimer of Warranty, and Section 16, Limitation of Liability, are particularly pertinent to this engineering design program.

CBA-Env showing 4-span beam analysis
Continuous Beam Analysis – Bridge
This is another extension to the general beam analysis program. It allows the user to pass the following forms of load across a bridge:
- knife-edge loads;
- HB vehicle;
- Special convoy vehicle.
In each case it outputs:
- moment and shear envelopes;
- maximum and minimum moment against position of first axle;
- bending moment diagrams when maximum and minimum moments occurred;
- a report of maximum and minimum load effects for any chosen point of interest.
This form of input and output allow the bridge designer to determine the maximum design load effects, as well as coincident effects, for the critical position of the vehicle. This is something that is only usually approximated.
Note this add-on requires the CBA-Env add-on to be available and the files are to be put in the same folder as CBA and CBA-Env.
Note that Section 15 of the GNU GPL, Disclaimer of Warranty, and Section 16, Limitation of Liability, are particularly pertinent to this engineering design program.

CBA Bridge showing typical output
Section Properties Calculator
This is a short but really useful script that calculates the section properties for an arbitrary shape with holes.
Prestressed Concrete Design
A collection of scripts for prestressed concrete calculations. Features include:
- Magnel diagrams;
- Stress checks at critical sections;
- Minimum section modulus calculations;
- Cable zone calculations.
When integrated with CBA and SecProp above, this is a powerful suite for the design and analysis of prestressed concrete beams.

PSC showing ongoing design of continuous prestressed concrete beam
Comments
Comment from Colin
Time: January 23, 2009, 1:09 am
You’re right: that is a very serious problem. I suggest studying some books to find the equations that describe the stress resultants you’re looking for. Then, use a computer program like MS Excel or Matlab to plot the equations. You may have to study some other books to learn how to do that too though. However, I’m sure all this reading won’t put you off. Best of Luck!
Comment from ugo
Time: February 2, 2009, 3:58 pm
HMD i have a program that can do just that for u, but as my site is still under construction now, u’ll v to contact me via my e-mail, ugoelumeze@whoever.com
i’ll be glad to hear from u.
Comment from moon
Time: June 2, 2009, 8:58 am
dear sir,
thank u for ur sources, I think they are the exact things I need.
but since I am not good at Matlab, I don`t know how to run the function CBA.
I think I have set path to the unziped file, but still failed to run it.
could you send me an example to help me understanding how to use ur sources?
for example, consider a cantilever beam (or simple supported beam) subjected to a force P at the tip.
how could I input the paraments?
sorry for my rude require, I really need ur help.
BTW, my e-mail: moon555sss@hotmail.com
Comment from pierrot
Time: September 11, 2009, 5:09 pm
dear mr. caprani,
your continuous beam application is a real nice piece of work, i like it very much. that made me translating it into c++. today i put it into sourceforge (http://sourceforge.net/projects/cbeam/) to share with others, i hope you dont mind.
greetings from germany, pierrot.
Comment from Admin
Time: September 11, 2009, 11:54 pm
Pierrot,
I don’t mind at all – I think it is a very nice complement, so thank you. I’m glad that someone has used it and has liked it. Well done for putting the work in too!
I’ve had a look at your code and it is very clean and clear – I’ve learned a lot from it, so thank you. Let’s hope other people find it useful too.
Colin
Comment from Ali El-baden
Time: January 2, 2010, 10:15 pm
Dear Prof colin
I find your web site very useful, and I wish that you publish your structural analysis notes in a kind of a book , best wishes and happy new year.
Greating from Tripoli-Libya

Comment from HMD
Time: January 23, 2009, 12:45 am
Hi.
Thanks for your useful site.
i have a serious problem and i think you can help me.actually i need a program which can plot shearing stress and bending moment diagram for a beam.this beam can be under a point load or uniformly distributed load(rectangular and triangular)
i need this program as soon as possible.please help me if you can.
with the best thanks.