I know nothing about matlab so I'm no help there. Just a clarification for anyone else though, are you looking for those specific examples (1234,4321) or are you looking for something that will find ...