How do you generate a random vector consisting of only 1 and -1 in MATLAB? I am looking for a function that generates a random vector of only certain integers and not from a definite range?
Aucun commentaire:
Enregistrer un commentaire