Match Sorting Recursion Error

2 Ansichten (letzte 30 Tage)
Jakeb Chouinard
Jakeb Chouinard am 29 Mai 2021
Beantwortet: Jakeb Chouinard am 29 Mai 2021
Hi all,
I'm somewhat new to recursion using Matlab, and I'm running into an error using R2021a. The controlling code is written in a live script file. I'll attach a picture of it (and the error I'm getting) below as well as the code for the function. Hopefully you all can point me in the right direction, because honestly, I'm out of ideas. I know the input data is in the right format and contains values that should work.
Cheers and thanks for your help!

Akzeptierte Antwort

Jakeb Chouinard
Jakeb Chouinard am 29 Mai 2021
Found the problem:
The middle line below was missing in the original code, and as a result, it would return no values.

Weitere Antworten (0)

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by