This preview shows page 1. Sign up to view the full content.
Unformatted text preview: r [x idx] = sort(rand(32,1)); [ for k = 1 : length(idx) % iterate through length of idx vector truth(idx(k)) = sdata(k) % assemble truth vector end e...
View Full Document
This note was uploaded on 09/12/2009 for the course CS 100 taught by Professor Fan/vanloan during the Fall '07 term at Cornell University (Engineering School).
- Fall '07