stablefit.m and regress.m errors [closed]

3 views (last 30 days)
Isma
Isma on 26 Mar 2015
Edited: Isma on 31 Mar 2015
Hi
Could someone test the zip on : http://nl.mathworks.com/matlabcentral/fileexchange/37514-stbl--alpha-stable-distributions-for-matlab , execute stblfit(x,'ecf') on adhoc data vector and let me know if he's experiencing the same error as I (see below) although I've checked the codes and all look good to me. What strikes me the most is "bestparams" which has already been defined as column vector in the code but that is still unknown during execution.
Ps: i'd like to rule out any version issue and thus need external feedback(s) on this.
Thanks
Warning: X is rank deficient to within machine precision. > In regress at 84 In stblfit at 127 Warning: X is rank deficient to within machine precision. > In regress at 84 In stblfit at 169 Undefined function or variable "bestparams".
Error in stblfit (line 222) alpha = bestparams(1);
Cause of the error: NAN value in data make the regression of the sample characteristic function fail, then the fit failed too.
Thanks to the author for the toolbox.
Cheers

Answers (0)

Community Treasure Hunt

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

Start Hunting!