Problem 359. Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody.
Return a cell array of all MATLAB keywords
Solution Stats
Problem Comments
-
1 Comment
It would be better if the solution didn't contain the answer. Also, in the problem statement you should probably specify that the keywords must be sorted alphabetically (and appear only once each). Otherwise a cell array such as {'if', 'for', 'else', ...} would satisfy the problem statement, but fail the Test Suite — as demonstrated in Solution 1329165.
Solution Comments
Show commentsProblem Recent Solvers449
Suggested Problems
-
1649 Solvers
-
Find the sum of the elements in the "second" diagonal
1149 Solvers
-
Back to basics 25 - Valid variable names
324 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
378 Solvers
-
4657 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!