what is this error?

2 Ansichten (letzte 30 Tage)
mahesh chathuranga
mahesh chathuranga am 26 Mai 2014
Beantwortet: Image Analyst am 26 Mai 2014
When I run the SPI calculation function this error was displayed.
function=" Z=SPI(Data,3,12) ;"
error=" * Maximum recursion limit of 1000 reached. Use set(0,'RecursionLimit',N) to change the limit. Be aware that exceeding your available stack space can crash MATLAB and/or your computer .
Error in gamrnd * "
Before run the function original data,i used this on to test the function.
Z=SPI(gamrnd(1,1,1000,1),3,12);
what is the reason for this and how to solve this problem?

Akzeptierte Antwort

Image Analyst
Image Analyst am 26 Mai 2014
Inside SPI, it's calling itself. That's what recursion means. Why do you have it calling itself?

Weitere Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by