Prev: b2bsharing
Next: Dynamic quantile regression
From: Emil on 28 Jul 2010 17:36 Thanks for your inputs. My code works somewhat faster now. So can I conclude that the take-home message here is that for-loops actually are the way to go at times in terms of performance?
From: Matt Fig on 28 Jul 2010 17:48 "Emil " <emil4ml(a)gmail.com> wrote in message <i2q7s6$bqo$1(a)fred.mathworks.com>... > Thanks for your inputs. My code works somewhat faster now. So can I conclude that the take-home message here is that for-loops actually are the way to go at times in terms of performance? .... as has been shown many(!) times on this newsgroup.
From: Bruno Luong on 29 Jul 2010 02:25
"Emil " <emil4ml(a)gmail.com> wrote in message <i2ok2m$75q$1(a)fred.mathworks.com>... >When is it, performance-wise, an advantage to use arrayfun? With few exception, arrayfun is cellfun are deceit features introduced by Mathworks few years ago. They are essentially disguised for-loop. Similar topic has been discussed in the pass: http://www.mathworks.com/matlabcentral/newsreader/view_thread/253815 Bruno |