MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Optimizing an algorithm 

Sorry guys, this is my first day on the forum and by accident i made multiple posts. Now here is the real problem: 
"lesodk Zokla" <lesodk@gmail.com> wrote in message <gmcv2a$m3u$1@fred.mathworks.com>... 
I have to agree with John here. Even a oneoff timing reveals the bsxfun as nearly 22 times faster. 
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <gmd0rt$mv9$1@fred.mathworks.com>... 

At the command line: 
"lesodk Zokla" <lesodk@gmail.com> wrote in message <gmcv2a$m3u$1@fred.mathworks.com>... 
"lesodk Zokla" <lesodk@gmail.com> wrote in message <gmd2aq$9uh$1@fred.mathworks.com>... 
"lesodk Zokla" <lesodk@gmail.com> wrote in message <gmd2aq$9uh$1@fred.mathworks.com>... 
"Matt " <xys@whatever.com> wrote in message 
"Matt Fig" <spamanon@yahoo.com> wrote in message <gmd4tq$jg1$1@fred.mathworks.com>... 
"Matt " <xys@whatever.com> wrote in message <gme7l6$me7$1@fred.mathworks.com>... 
"lesodk Zokla" <lesodk@gmail.com> wrote in message <gmd2aq$9uh$1@fred.mathworks.com>... 
"Stefan" <nospam@yahoo.com> wrote in message <gmem2e$9ut$1@fred.mathworks.com>... 
"lesodk Zokla" <lesodk@gmail.com> wrote in message <gmesma$l9b$1@fred.mathworks.com>... 
"Matt " <xys@whatever.com> wrote in message <gmevtd$96d$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.