what could be better than using bsxfun?
better is let matlab do this for you, an in new release there is no need to call bsxfun because it is calle implicitly
Amazing, < 1 hr after posting it I get this great answer. Thanks alot. Greetings from Mexico.
Find the sum of all the numbers of the input vector
32735 Solvers
5755 Solvers
6677 Solvers
Create matrix of replicated elements
325 Solvers
Vector of numbers divisible by 3
129 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!