The test suite should include a matrix where the columns have different averages. Also, I think that "subtract" would be easier to understand than "omit".
Totally agree with James!!!
Ctrl-C, Ctrl-V from bsxfun's help. Exactly how I like it!
28011 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
348 Solvers
372 Solvers
288 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!