Watch this Author's files
dear Guan have you checked your DFA code with the code in Physionet.org and it's sample data with results???
Contact us at files@mathworks.com