Problem 582. Function composition - harder
Solution Stats
Problem Comments
-
1 Comment
"compose" is a built-in Matlab function.
Please, change the function name in the test suite, since no new solution is allowed.
Solution Comments
-
2 Comments
This problema keeps returning an error which, to my understanding, does not make sense, since my function has only 5 lines.
Error using compose (line 85) First argument must be a string array, character vector, or cell array of character vectors. Error in TestPoint1 (line 4) h = compose(f1,f2,f3);
Apologies for the trouble! I have renamed to the function to "composeFcn" to avoid clashing with the MATLAB "compose" function. Give it a try now.
-
1 Comment
it took me almost half an hour to get how this programm work.impressive!
Problem Recent Solvers85
Suggested Problems
-
Number of 1s in a binary string
5309 Solvers
-
Vectorize the digits of an Integer
288 Solvers
-
Remove the two elements next to NaN value
517 Solvers
-
264 Solvers
-
329 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!