Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x={'01', '56'; '234', '789'};
y_correct = '0123456789';
assert(isequal(your_fcn_name(x),y_correct));
y =
'01'
y =
'01234'
y =
'0123456'
y =
'0123456789'
|
2 | Pass |
x={'' 'a' '1'; 'AA' 'BB' 'CC'; 'dog' 'cat' 'car'};
y_correct='AAdogaBBcat1CCcar';
assert(isequal(your_fcn_name(x),y_correct));
y =
0×0 empty char array
y =
'AA'
y =
'AAdog'
y =
'AAdoga'
y =
'AAdogaBB'
y =
'AAdogaBBcat'
y =
'AAdogaBBcat1'
y =
'AAdogaBBcat1CC'
y =
'AAdogaBBcat1CCcar'
|
3 | Pass |
x={'We' 'do' ;'ll ' 'ne.'};
y_correct='Well done.';
assert(isequal(your_fcn_name(x),y_correct));
y =
'We'
y =
'Well '
y =
'Well do'
y =
'Well done.'
|
Project Euler: Problem 2, Sum of even Fibonacci
835 Solvers
Return unique values without sorting
588 Solvers
Getting the indices from a matrice
360 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
298 Solvers
Mersenne Primes vs. All Primes
166 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!