least squares - Supressing Octave leasqr CONVERGENCE NOT ACHIEVED message -


i'm trying fit function using leasqr in octave. performs of time. sometimes, however, leasqr fails converge. (i'm not sure why, because solution comes looks fine).

untill can figure out why it's not converging suppress output. whenever leasqr fails converge following warning:

convergence not achieved! 

i've tried implementing answer this question, it's not working me. code looks this:

pager('/dev/null'); page_screen_output(1); page_output_immediately(1); [fx.k1,fx.lambda1,fx.c1,... fx.k2,fx.lambda2,fx.c2] = peaktrack_expfit(t,mn,fnr,mode); 

how suppress these convergence messages?


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -