root/applications/dual/SIDP/smc29/my_resample.m @ 1256

Revision 1255, 136 bytes (checked in by zimamiro, 14 years ago)
Line 
1function [x vahy]=my_resample(x,vahy)
2    N=size(x,2);
3    index=my_sample(vahy,1:N);
4    x=x(:,index);
5    vahy=1/N*ones(1,N);
6end
Note: See TracBrowser for help on using the browser.