# Change Warping Correspondence to allow for decreasing positions?

Posted 8 months ago
491 Views
|
|
1 Total Likes
|
 Hello, WarpingCorrespondence[{11, 12, 13, 14, 11}, {12, 13}] // TextGrid gives { {1, 2, 3, 4, 5}, {1, 1, 2, 2, 2} } The last element in the second line should be a "1" however. I realized that this is due to the fact that WarpingCorrespondence allows only increasing positions, but I wonder whether there is a way to change it to allow also for decreasing ones.Thanks for your input, Michael