Hi all,
I'm sure this is probably very easy but I can't seem to crack it. I've got an array like so:
timing = 10 5 5 5 5 5 5 5 5 5 5 10 10 10 10 10 10 20 20 20 60 60 60 60 60 30 30 10];
I'd like to produce a table of the data which shows the number of entries, i.e.
1 x 1010 x 56 x 103 x 20 5 x 603 x 301 x 10
This array changes length (and values) each time I run my code.
Using the "unique" command would have this done in a line of code, but the fact that same value repeats itself later in the array is making it a lot more hassle!
Any help greatly appreciated
Thanks Jim
Best Answer