In the first test size(mult)=size(words), but not after (transpose).
The way I implemented multipliers in this problem is a little clunky, but I'd rather not change it and mess up everyone's solutions. In a subsequent problem (8, should be posted soon), I'll have a revised, smoother way of presenting multipliers for the board.
This problem has been revised so that the multipliers are simple string arrays, rather than double-level cell arrays. The new problem is here: https://www.mathworks.com/matlabcentral/cody/problems/3081-scrabble-scores-4.
Longest Divisor Run
Number of 1s in a binary string
We love vectorized solutions. Problem 1 : remove the row average.
Put Two 1D matrices into one 1D matrix
Divisible by 9
Tic-Tac-Logic - Solution Checker
Scrabble Scores - 7
Divisible by 5
5th Time's a Charm
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