source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/test_sample.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

  • Property svn:executable set to *
File size: 204 bytes
Line 
1d = 10;
2p = rand(d,1);
3ns = ceil(10.^linspace(0,4,20));
4for i = 1:length(ns)
5  n = ns(i);
6  tic
7  for iter = 1:10
8    x = sample(p,n);
9  end
10  tim(i) = toc;
11end
12loglog(ns,tim,'-',ns,tim,'.');
Note: See TracBrowser for help on using the repository browser.