Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
y_correct = {'break';'case';'catch';'classdef';'continue';'else';'elseif'; 'end';'for'; 'function'; 'global'; 'if'; 'otherwise'; 'parfor'; 'persistent'; 'return'; 'spmd'; 'switch'; 'try'; 'while'};
assert(isequal(keywords,y_correct))
y =
20×1 cell array
'break'
'case'
'catch'
'classdef'
'continue'
'else'
'elseif'
'end'
'for'
'function'
'global'
'if'
'otherwise'
'parfor'
'persistent'
'return'
'spmd'
'switch'
'try'
'while'
|
Find common elements in matrix rows
1232 Solvers
All your base are belong to us
463 Solvers
613 Solvers
Back to basics 19 - character types
225 Solvers
Check if number exists in vector
4467 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!