Finding max of an element vector using recursion

Write a function called recursive_max that finds the maximum element in a vector without using loop or any built in functions

 Accepted Answer

You can first google it before posting a question here. It is old question and you will find many useful links: For example:

More Answers (1)

Write a function called recursive_max that finds the maximum element in a vector without using loop or any built in functions.the sole output argument is the maximum value in the input vector.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!