Advertisement
dmjr

Untitled

Mar 14th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. randomtext=char(randi([1,255],1,1000));
  2. counts=zeros(255,1);
  3. for c=char(1:numel(counts))
  4. counts(c)=sum(randomtext==c);
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement