Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = {'I','love','MATLAB'};
y_correct = string({'I','love','MATLAB'});
assert(isequal(cell2str(x),y_correct))
ans =
[]
|
2 | Pass |
x = {'I', '', '', 'MATLAB'};
y_correct = string('I'); y_correct(4) = 'MATLAB';
assert(isequaln(cell2str(x),y_correct))
ans =
[]
|
3 | Pass |
x = {'I', '', 'MATLAB'
'', 'love', 'MATLAB'
'I', 'love', '' };
y_correct = [string('I'), string(NaN), string('MATLAB')
string(NaN), string('love'), string('MATLAB')
string('I'), string('love'), string(NaN) ];
assert(isequaln(cell2str(x),y_correct))
ans =
[]
|
344 Solvers
Is this triangle right-angled?
1375 Solvers
396 Solvers
250 Solvers
Use a timetable to analyze a train timetable (Part 5)
32 Solvers