Professional Interests: asset management, big data, systematic trading strategies, financial modelling

Top 1% contributor

**2,285**Contributions

Peter Bone" What do you need it for, counting variables? x = 0; for ii = 1:100 x = x+1; end Oleg

*60928* views

Responded 6 years ago

size(A,1)

accepted

4

Answered 4 years ago

43 downloads

2 years ago

43 downloads

4 years ago

[r,c,v] = find(a); out = accumarray([v,c],1,size(a));

accepted

3

Answered 3 years ago

accumarray(A.',B.')

accepted

3

Answered 3 years ago