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 196416

Submitted on 25 Jan 2013 by Alfonso Nieto-Castanon

Correct

25Size
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))
ans =
    {1x1 cell}
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))
ans =
    {1x1 cell}
3
Pass
 
%%
n = 110;
Title_correct = 'Make an N-dimensional Multiplication Table';
% This problem hurts my head
assert(strcmp(Cody_Title(n),Title_correct))
ans =
    {1x1 cell}
4
Pass
 
%%
n = 808;
Title_correct = 'Hamming Weight - Fast';
assert(strcmp(Cody_Title(n),Title_correct))
ans =
    {1x1 cell}