CSD matlab function computes a cosine sine decompisition of an m-by-m partitioned orthogonal/unitary matrix X. The mex calls the SORCSD/DORCSD/CUNCSD/ZUNCSD named LAPACK functions.