Watch this Author's files
Thnks i tried for 50*50 matrix and gives not very good bad good enough
Contact us at files@mathworks.com