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
Solution Comments
Show comments
Loading...
Problem Recent Solvers469
Suggested Problems
-
Create a square matrix of multiples
501 Solvers
-
Determine Whether an array is empty
815 Solvers
-
Find the maximum number of decimal places in a set of numbers
3551 Solvers
-
426 Solvers
-
Matlab Basics - y as a function of x
532 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!
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.