A collection of Matlab files is available to build and analyse a square laminated plate which is subjected to boundary loads.
Additionally, there are files for the optimization of - again square - laminated plates.

You can find the complete repository here.
Use gitzip to download individual directories or files.

Some files are available through the following links:

Effective composite properties of a lamina can be calculated.
Matlab m-files are available in the directory 'effprop'.
Here you also find a file - effrun.mm - with examples, which can be past into the matlab (or octave) shell.