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 Solvers470
Suggested Problems
-
Return the first and last characters of a character array
12491 Solvers
-
Calculate the area of a triangle between three points
3575 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
-
Find out value of sine given by degree.
358 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 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.