It is a duplicate of
Problem 157. The Hitchhiker's Guide to MATLAB : http://www.mathworks.com/matlabcentral/cody/problems/157-the-hitchhiker-s-guide-to-matlab
Not a duplicate, a variation (as mentioned in the description). The previous one returned true/false if the input was the Answer. This one requests that the output be the Answer. :o)
Exact it is a variation
Nice
Select every other element of a vector
21440 Solvers
Calculate the Levenshtein distance between two strings
476 Solvers
Return elements unique to either input
571 Solvers
250 Solvers
Relative ratio of "1" in binary number
430 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!