"compose" is a built-in Matlab function.
Please, change the function name in the test suite, since no new solution is allowed.
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.
it took me almost half an hour to get how this programm work.impressive!
Encode Roman Numerals
Getting the indices from a vector
Add more zeros
Create a vector whose elements depend on the previous element
Sum the Digits of a Number
Implement a counter
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office