Cody

Problem 43608. Namespace

Solution 1220278

Submitted on 26 Jun 2017 by Jean-Marie Sainthillier
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 10; y_correct = {'a_1';'a_2';'a_3';'a_4';'a_5';'a_6';'a_7';'a_8';'a_9';'a_10'}; assert(isequal(your_fcn_name(x),y_correct))

ans = 10×1 cell array 'a_1' 'a_2' 'a_3' 'a_4' 'a_5' 'a_6' 'a_7' 'a_8' 'a_9' 'a_10'

2   Pass
x = 6; y_correct = {'a_1';'a_2';'a_3';'a_4';'a_5';'a_6'}; assert(isequal(your_fcn_name(x),y_correct))

ans = 6×1 cell array 'a_1' 'a_2' 'a_3' 'a_4' 'a_5' 'a_6'

Suggested Problems

More from this Author10