Clear Filters
Clear Filters

Finding max of an element vector using recursion

2 views (last 30 days)
Write a function called recursive_max that finds the maximum element in a vector without using loop or any built in functions

Accepted Answer

KSSV
KSSV on 11 Sep 2020
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)

JAYANTHI SANKARALINGAM
JAYANTHI SANKARALINGAM on 20 Sep 2020

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 Argument Definitions 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!