How to select and sum elements in an array fast?
in [
Matlab
]
Prev:
Simscape power converter model
Next:
lsqnonlin
From:
Namo Namo
on
15 Jul 2010 23:26
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