stablefit.m and regress.m errors [closed]

1 回表示 (過去 30 日間)
Isma
Isma 2015 年 3 月 26 日
編集済み: Isma 2015 年 3 月 31 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by