Thank you so much for the reply....Can you please give me more info about it to code in MATLAB .....Thanks again