Ajouter 'getSample.m'
This commit is contained in:
parent
ed7d6a9a40
commit
be69cdf002
|
|
@ -0,0 +1,3 @@
|
||||||
|
function Samples = getSamples(max, percentage)
|
||||||
|
Samples = find(rand(1, max) < percentage);
|
||||||
|
endfunction
|
||||||
Loading…
Reference in New Issue