This is a revised version of problem #4 in the Scrabble Scores series. The multipliers are in strings arrays, rather than double-level cell arrays, to coincide with the subsequent problems.
Test suit is broken as it keeps only the first case string array to the entire suit . Please fix since its a Word Puzzles problem
@Nikolaos Nikolaou: can you be more specific? I just re-tested two previous solutions and they worked fine. Each of the test cases contains single-line variables.
I've just solved the problem. It seems to be working fine.
Sort a list of complex numbers based on far they are from the origin.
Make a run-length companion vector
Divisible by n, prime divisors (including powers)
Not square-free number sequence
Pattern Recognition 3 - Variable Unit and Array Length (including cell arrays)
Divisible by 5
Inscribed Pentagon? 2
Find the treasures in MATLAB Central and discover how the community can help you!
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