*shuffle!(vec(u))*


*will do what you want if **inlace shuffling is ok. Otherwise simply make a 
copy before.*

Am Donnerstag, 24. März 2016 14:09:36 UTC+1 schrieb Arundhyoti Sarkar:
>
>
>
> Is there a way to shuffle matrix in julia like we do in matlab?
> I know shuffle(v) shuffles the vector v of type Array{Any,1}. But doesnot 
> work with matrices. 
>

Reply via email to