Problem 582. Function composition - harder
"compose" is a built-in Matlab function.
Please, change the function name in the test suite, since no new solution is allowed.
Composition is in reverse. Apply last function, then next-to-last, and so forth to first.
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.
Problem Recent Solvers96
Find the two most distant points
Back to basics 22 - Rotate a matrix
Getting the indices from a matrix
Create a Multiplication table matrix...
More from this Author2
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!