Skip to content

Instantly share code, notes, and snippets.

@dennda
Created September 22, 2011 19:48
Show Gist options
  • Save dennda/1235825 to your computer and use it in GitHub Desktop.
Save dennda/1235825 to your computer and use it in GitHub Desktop.
NSMutableArray *histo = [NSMutableArray array];
for (int i = 0; i < num_bins; i++)
[histo insertObject:[NSNumber numberWithUnsignedLong:histogram[i]] atIndex:i];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment