i found this solution, but i'm guessing there must be a more easy and efficient solution. The scrip is this:
Matrix=[25 ,32 ,40, 50] ; tam=size(Matrix); number=grand(1,1,"uin",1,tam(2)); random=Matrix(number) Hope its helps someone. -- View this message in context: http://mailinglists.scilab.org/Get-random-number-from-a-matrix-tp4030691p4030692.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
