I have given list of numbers,
x=[x1, x2, x3, x4, x5, x6];
non_zero=find(x);
I want Matlab to randomly select anyone among elements of 'non_zero' at a time. I searched online but there is no such function available to provide my required results.
Aucun commentaire:
Enregistrer un commentaire