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

 采纳的回答

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

更多回答(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.

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by