vendredi 8 avril 2016

how to randomly replace a percentage of elements with zeros [duplicate]

This question already has an answer here:

I am new in Matlab and i want your help. I have a Matrix with non zero elements (1 X N) and i want the 40% replaced by zero. Any help?




Aucun commentaire:

Enregistrer un commentaire