Out of memory. The likely cause is an infinite recursion within the program
Show older comments
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)
Kavya Vuriti
on 5 Aug 2020
0 votes
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!