Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to list a cpmbination of 5 number

Status
Not open for further replies.

mmth14

Newbie level 2
Joined
Nov 15, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
hi guys

here my example of what I want to do in matlab

I have number from 1 to 5 and I want to list all combination of them
ex:

12345
12354
12543
15432
...
...
...
to the end of the 120th combination


regards
 

ebrahimi.khoy

Member level 3
Joined
Dec 4, 2010
Messages
64
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,736
Check this one:

**broken link removed**

or run combnk(1:5,5) command in MATLAB
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top