I've been studying a script that uses the random function in MATLAB.
x = rand(2,4) > 5
Explanatory - a random function generates random numbers.
But what I don't understand is the purpose of the
> 5
part.
The output is a 2-by-4 logical array.
Aucun commentaire:
Enregistrer un commentaire