Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 167595

Submitted on 24 Nov 2012 by @bmtran

Correct

23Size
Leading solution size is 18.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Pass
 
%%
n = 1;
Title_correct = 'Times 2 - START HERE';
assert(strcmp(Cody_Title(n),Title_correct))

                    
2
Pass
 
%%
n = 2;
Title_correct = 'Make the vector [1 2 3 4 5 6 7 8 9 10]';
assert(strcmp(Cody_Title(n),Title_correct))

                    
3
Pass
 
%%
n = 110;
Title_correct = 'Make an N-dimensional Multiplication Table';
% This problem hurts my head
assert(strcmp(Cody_Title(n),Title_correct))

                    
4
Pass
 
%%
n = 808;
Title_correct = 'Hamming Weight - Fast';
assert(strcmp(Cody_Title(n),Title_correct))