Here are some tips on using MATLAB:
bsxfun
, and allocate (in nontrivial cases) with repmat
./
versus ./
.textscan
with dlmread
).Knowing these concept and functions will help you to program more efficiently (and would also reduce the number of MATLAB questions significantly).