Hi List, I did get from mathworks.com some pieces of code . Those code snippets only draw BER curve. But I need to draw the envelope. Would anybody share that kind of code? Regards. -- Northern Capital, the Republic of Pandaria http://illidan.cublog.cn