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?
Find state names that start with the letter N
Is this matrix orthogonal?
Is this triangle right-angled?
Area of a triangle
Replace NaNs with the number that appears to its left in the row.
Sort a list of complex numbers based on far they are from the origin.
Return the 3n+1 sequence for n
The Goldbach Conjecture, Part 2
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