From: Bruno Luong on 14 Jun 2010 02:07 Take a look at example 10 of the doc of accumarray: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/accumarray.html In this example, the function handle "@(x) {x}" is used to group the "values" as cell per bin. With something similar you can accomplish the task you want. Bruno
From: Anthony Hopf on 14 Jun 2010 06:20 Thank you Bruno... The extreme speed up I see using accumarray may negate the need to bin all of the index values for storage. But I will play with this more. Anthony "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <hv4gu7$ark$1(a)fred.mathworks.com>... > Take a look at example 10 of the doc of accumarray: > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/accumarray.html > > In this example, the function handle "@(x) {x}" is used to group the "values" as cell per bin. > > With something similar you can accomplish the task you want. > > Bruno
First
|
Prev
|
Pages: 1 2 3 4 5 6 Prev: reading a bunch of data files with non-consecutive file names Next: Simscape>Mechanical Source |