Matlab: Composite materials finding A B D

Does anyone know how to write a script to find A B D ?