i want to get a combination from a table of cell by fonction (combntns), but i dosen't work ,anyone can help me ,thank you

C={'2222222','33333333','444444444'} i want to get like this:'2222222' '3333333333' '2222222' '4444444444' '3333333' '4444444444'

 Respuesta aceptada

Is this what you want ?
C={'2222222','33333333','444444444'};
nchoosek(C, 2)

Categorías

Más información sobre Data Type Identification en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 6 de Oct. de 2014

Respondida:

el 6 de Oct. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by