I want to code the Robinson-Schensted correspondence in MatLab.
3 views (last 30 days)
Show older comments
I want to code the RSK algorithm in MatLab but dont know how to do so. For a given permutation of n integers where every integer from 1 to n is present in the permutation, I need to write an algorithm that will generate two different arrays following the Robinson-Schensted correspondence. It has been coded in python here https://mathoverflow.net/questions/30910/implementation-of-the-robinson-schensted-correspondence and also a few other languages but I have not been able to sucessfully code this in MatLab! My attempts all seem to be falling flat and not doing at all what I want them to do. Can anyone help?
2 Comments
Geoff Hayes
on 26 Feb 2019
badscience - please post the code that you have written and discuss what problems you are observing. Include any input parameters and show how you are calling your function or script.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!