Out of memory. The likely cause is an infinite recursion within the program

Hi,
I am using a function called reco_all that plots psd from moments. However, when I try to run the function, I keep getting the error 'Out of memory. The likely cause is an infinite recursion within the program.' I don't know how to troubleshoot this problem. Attached is the code I am using.

Answers (1)

Hi,
The error is due to the function calling itself in line number 42 of the attached code. From the given code, I understood that it has to be commented out.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Release

R11.1

Asked:

on 5 May 2020

Answered:

on 5 Aug 2020

Community Treasure Hunt

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

Start Hunting!