Not column, but row wise.
function b = matchPattern(a)
this is actually pretty fun
I'm not proud of this solution, the scoring system is clearly flawed.
Seems like the filter preventing abuse of @eval needs some work!
Nice! I learned something from you.
This solution is wrong. It detects a common patten among any two rows and not just the first row and other rows.
What is the point?
Implement a ROT13 cipher
Back to basics 17 - white space
Sum of diagonal of a square matrix
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Find the hypotenuse
Find the two most distant points
Calculate the Levenshtein distance between two strings
Return a list sorted by number of occurrences
Maximum running product for a string of numbers
Determine if input is odd
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office