Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. function m=histogram_bins(y);
  2. m=floor(2*iqr(y))/(length(y)^(1/3));
  3. end
  4.  
  5. histogram_bins(Z)
  6.  
  7. ans =
  8.  
  9. 1.5791
  10.  
  11. histogram_bins(B)
  12.  
  13. ans =
  14.  
  15. 17.4452
  16.  
  17. histogram(B,100,18) % dont pay attention to 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement