From: Namo Namo on
Thanks, Walter and Roger. accumarray(B, A) does it!. It sums the elements in A that have the same index in B.
First  |  Prev  | 
Pages: 1 2
Prev: Simscape power converter model
Next: lsqnonlin