Problem 76. De-dupe
why I use ver.2012b can pass all the tests,but not succeded in cody?
solved in one line !
Cody is based on the 'current' version of MATLAB, not R2012b. Many functions are unchanged, but a few have changed (modified, new, or removed), including "unique".
You must add the 'legacy' flag to the list of arguments to preserve the behaviour of the "unique" function from R2012b and prior releases — refer to the documentation (link posted by Jakub Galecki).
if u know a specific function its too easy.
Solution CommentsShow comments
Problem Recent Solvers2671
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!