PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/entrega2/ejercicio1/mezclar.m

http://github.com/melisabok/RedesNeuronales
Objective C | 5 lines | 4 code | 1 blank | 0 comment | 0 complexity | d57d0a58b0a3d079dba7ee8f749833bc MD5 | raw file
1function[M] = mezclar(P)
2
3[CantFilas, CantCols] = size(P);
4indices = randperm(CantFilas);
5M = P(indices,:);