Divakar
Best MATLAB folks I care about -
bsxfun
,permute
,reshape
- Swiss army knifeunique
,histc
- Dating for too long and not getting marrieddiff
,cumsum
- Sisters that fight all the timesetdiff
,ismember
,intersect
- Judgesany
,all
- NinjasLogical Indexing
- Angel
Nay loops
, Yay bsxfun
,
FTW GPU + bsxfun
.
Exciting MATLAB -
- Working with numeric data based cell arrays? For performance, unpack to numeric ASAP and keep as such ALAP: [1], [2] [3] [4]
- Sum over blocks : [1], [2], [3], [4].
- Dump
meshgrid/ndgrid
forbsxfun
: [1] [2] [3] - Avoid anonymous functions, even with bsxfun : [1] runtime numbers.
- Index into diagonal elements efficiently with bsxfun: [1] [2]
- Function-inline for insane speedups:[1].
- Avoid
sub2ind
with its raw version for a noticeable speedup! [1] - Replace
repmat
withbsxfun
: [1] [2] [3] [4] - Even
tic/toc
need warming up before benchmarking - Efficient euclidean distances calculation: Original source, Explanation
Insane bsxfun
-
-
India
-
Member for 4 years, 11 months
-
14 profile views
-
Last seen Nov 27 at 11:23
Communities (6)
Top network posts
Keeping a low profile.
This user hasn't posted yet.