Problem 733. Extract Built In Functions and Toolbox Functions from String or Function Handle
Solution Stats
Problem Comments
-
6 Comments
Richard: I believe there are a couple of inconsistencies in the test cases.
- You mention in the problem statement that the 'alphabetized built-in' functions should follow 'alphabetized' functions. However, 'log10' (not built-in) appears before 'log2' (built-in).
- 'i' is also a built-in function. 'which i' indicates that.
'i' in test case 2 is also 'built-in'
I agree , exist('i') return 5 .
I changed hte "i" to "k".
Even though "i" was being used as a variable and not in its capacity as a built-in function.
In what order the names of the function are sorted?
(Thanks for the useful tags.)
The functions are sorted alphabetically and by type.
Ex. [built_in_alphabetical, toolkit_alphabetical]
Solution Comments
Show commentsProblem Recent Solvers65
Suggested Problems
-
2673 Solvers
-
Set the array elements whose value is 13 to 0
1308 Solvers
-
Create logical matrix with a specific row and column sums
289 Solvers
-
1127 Solvers
-
Find my daddy long leg (No 's')
1819 Solvers
More from this Author260
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!