Alamouti code

Has there been an implementation of alamouti code for a 2*1 mimo setup.
Any
ideas to get started on implementing it.