ordering a list of number?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
let say i have 6 different number(J) 1,2,3,4,5,6, how can i use matlab to arrange all possible oder? eg 2,1,3,4,5,6 . 1,2,4,3,5,6 etc?
0 comentarios
Respuesta aceptada
Thomas
el 2 de Abr. de 2012
doc perms
Gives all the permutations of the vector
c=[1,2,3,4,5,6]
perms(c)
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!