okogidi
Posts:
406
Registered:
4/28/08


Re: subtract vector from matrix rows without for loop
Posted:
Nov 28, 2009 9:49 PM


"Patrick Diviacco" <patrick.diviacco@gmail.com> wrote in message <hesm3s$3sn$1@fred.mathworks.com>... > hi, > > can I subtract the same vector to each row of a matrix without using a for loop ? > thanks
yes

