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!
6287 Solvers
Project Euler: Problem 5, Smallest multiple
400 Solvers
Make one big string out of two smaller strings
1151 Solvers
232 Solvers
506 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!