is there any function which is similar to matlab function ind2sub? Anil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20100408/65dc7396/attachment.html>