Aug 2, 2006 #1 A ablendos Junior Member level 3 Joined Jan 8, 2004 Messages 31 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 246 matlab problem!! Dear all: I want to list all result of number serial that are pick 6 number from 42 number. Please tell me how to do it??? Thank you!!!
matlab problem!! Dear all: I want to list all result of number serial that are pick 6 number from 42 number. Please tell me how to do it??? Thank you!!!
Aug 2, 2006 #2 hamdard Full Member level 3 Joined Jun 9, 2006 Messages 177 Helped 17 Reputation 38 Reaction score 9 Trophy points 1,298 Activity points 2,354 Re: matlab problem!! i AM NOT GETTING UR PROBLEM, PL. EXPLAIN IT.
Aug 2, 2006 #3 A ablendos Junior Member level 3 Joined Jan 8, 2004 Messages 31 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 246 Re: matlab problem!! sorry about it !! I mean list all number result, just like 1,2,3,4,5,6 1,2,3,4,5,7 1,2,3,4,5,8 1,2,3,4,5,9 1,2,3,4,5,10 ...... ..... ...... ...... 37,38,39,40,41,42.
Re: matlab problem!! sorry about it !! I mean list all number result, just like 1,2,3,4,5,6 1,2,3,4,5,7 1,2,3,4,5,8 1,2,3,4,5,9 1,2,3,4,5,10 ...... ..... ...... ...... 37,38,39,40,41,42.
Aug 2, 2006 #4 E echo47 Advanced Member level 6 Joined Apr 7, 2002 Messages 3,933 Helped 638 Reputation 1,274 Reaction score 90 Trophy points 1,328 Location USA Activity points 33,176 matlab problem!! Those are called "combinations". Try this, but it will take a few minutes: result = nchoosek(1:42,6);
matlab problem!! Those are called "combinations". Try this, but it will take a few minutes: result = nchoosek(1:42,6);
Aug 2, 2006 #5 A ablendos Junior Member level 3 Joined Jan 8, 2004 Messages 31 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 246 Re: matlab problem!! Dear echo47: Thank your help!!!