I want to execute a code to calculate Largest Lyapunov Exponent in time series. There is a "nlinfit" function in my m-file, but the result is this error:
Error using nlinfit (line 239)
No usable observations after removing NaNs in Y and
in the result of evaluating MODELFUN at the initial
Error in lyaprosen (line 377)
I searched this error, but there was not any results. Can anyone help me to solve this issue?